import type { Detector, Masker } from './types.js';
export interface LazyPlugin {
    detectors?: () => Promise<Detector[]>;
    maskers?: () => Promise<Record<string, Masker>>;
    contextHints?: () => Promise<string[]>;
}
export interface LoadedPlugin {
    detectors: Detector[];
    maskers: Record<string, Masker>;
    contextHints: string[];
}
export declare function loadPlugin(name: string, plugin: LazyPlugin): Promise<LoadedPlugin>;
export declare function clearPluginCache(): void;
//# sourceMappingURL=lazy.d.ts.map