UNPKG

astro-sveltia-cms-loader

Version:
23 lines (19 loc) 656 B
import { AstroIntegration } from 'astro'; import { Loader } from 'astro/loaders'; type GlobalOptions = { configPath: string; repositoryRoot: URL; }; declare const createPlugin: (globalOptions?: Partial<GlobalOptions>) => AstroIntegration; type CollectionLoaderOptions = { collectionName: string; overrides?: { configPath?: string; glob?: { pattern: string | Array<string>; base?: string | URL; }; }; }; declare const collectionLoader: (options: CollectionLoaderOptions) => Loader; export { type CollectionLoaderOptions, type GlobalOptions, collectionLoader, createPlugin as default };