UNPKG

@stylable/core

Version:

CSS for Components

16 lines 884 B
import { CacheItem, MinimalFS } from './cached-process-file'; import { CssParser } from './parser'; import { processNamespace } from './stylable-processor'; import type { StylableMeta } from './stylable-meta'; import type { Diagnostics } from './diagnostics'; import { type FeatureFlags } from './features/feature'; export declare function createStylableFileProcessor({ fileSystem, onProcess, resolveNamespace, cssParser, cache, createDiagnostics, flags, }: { fileSystem: MinimalFS; flags?: FeatureFlags; onProcess?: (meta: StylableMeta, path: string) => StylableMeta; resolveNamespace?: typeof processNamespace; cssParser?: CssParser; cache?: Record<string, CacheItem<StylableMeta>>; createDiagnostics?: (from: string) => Diagnostics; }): import("./cached-process-file").FileProcessor<StylableMeta>; //# sourceMappingURL=create-stylable-processor.d.ts.map