@stylable/core
Version:
CSS for Components
9 lines • 756 B
TypeScript
import { FileProcessor, MinimalFS } from './cached-process-file';
import { processNamespace, StylableMeta } from './stylable-processor';
import { TimedCacheOptions } from './timed-cache';
export interface StylableInfrastructure {
fileProcessor: FileProcessor<StylableMeta>;
resolvePath: (context: string | undefined, path: string) => string;
}
export 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;
//# sourceMappingURL=create-infra-structure.d.ts.map