UNPKG

852 BTypeScriptView Raw
1import { FileProcessor, MinimalFS } from './cached-process-file';
2import { processNamespace, StylableMeta } from './stylable-processor';
3import { TimedCacheOptions } from './timed-cache';
4import { Diagnostics } from './diagnostics';
5export interface StylableInfrastructure {
6 fileProcessor: FileProcessor<StylableMeta>;
7 resolvePath: (context: string | undefined, path: string) => string;
8}
9export 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, createDiagnostics?: (from: string) => Diagnostics): StylableInfrastructure;
10//# sourceMappingURL=create-infra-structure.d.ts.map
\No newline at end of file