UNPKG

756 BTypeScriptView Raw
1import { FileProcessor, MinimalFS } from './cached-process-file';
2import { processNamespace, StylableMeta } from './stylable-processor';
3import { TimedCacheOptions } from './timed-cache';
4export interface StylableInfrastructure {
5 fileProcessor: FileProcessor<StylableMeta>;
6 resolvePath: (context: string | undefined, path: string) => string;
7}
8export declare function createInfrastructure(projectRoot: string, fileSystem: MinimalFS, onProcess?: (meta: StylableMeta, path: string) => StylableMeta, resolveOptions?: any, resolveNamespace?: typeof processNamespace, timedCacheOptions?: Omit<TimedCacheOptions, 'createKey'>, resolveModule?: import("./types").ModuleResolver): StylableInfrastructure;
9//# sourceMappingURL=create-infra-structure.d.ts.map
\No newline at end of file