export interface LoadedFormatter { extensions?: string[]; apply: (fileName: string, content: string, options?: Record, step?: unknown) => string | Promise; } export type FormatterLoader = (packageName: string) => LoadedFormatter; export declare class FormatterCache { private readonly cache; private readonly loader; constructor(loader: FormatterLoader); get(packageName: string): LoadedFormatter; clear(): void; } export declare function createFormatterCache(): FormatterCache; //# sourceMappingURL=formatter-cache.d.ts.map