astro-ghostcms/.pnpm-store/v3/files/ca/5210b589fc9522204adf3648ea9...

17 lines
740 B
Plaintext
Raw Permalink Normal View History

2024-02-14 14:10:47 +00:00
import { IconifyJSON } from '@iconify/types';
import { AutoInstall } from './types.js';
import '@antfu/utils';
import '../customisations/defaults.js';
/**
* Asynchronously loads a collection from the file system.
*
* @param name {string} the name of the collection, e.g. 'mdi'
* @param autoInstall {AutoInstall} [autoInstall=false] - whether to automatically install
* @param scope {string} [scope='@iconify-json'] - the scope of the collection, e.g. '@my-company-json'
* @return {Promise<IconifyJSON | undefined>} the loaded IconifyJSON or undefined
*/
declare function loadCollectionFromFS(name: string, autoInstall?: AutoInstall, scope?: string, cwd?: string): Promise<IconifyJSON | undefined>;
export { loadCollectionFromFS };