import FileLoader from '@stackpress/lib/FileLoader'; import type { ConfigLoaderOptions, PluginLoaderOptions } from './types.js'; export declare class ConfigLoader extends FileLoader { protected _extnames: string[]; protected _key: string; constructor(options?: ConfigLoaderOptions); load(filepath: string, defaults?: T): Promise; resolveFile(filepath?: string): Promise; } export declare class PluginLoader extends ConfigLoader { protected _modules?: string; protected _plugins?: string[]; protected _bootstrapped: boolean; constructor(options: PluginLoaderOptions); bootstrap(loader: (name: string, plugin: unknown) => Promise): Promise; plugins(): Promise; }