import { FileProcessor } from './cached-process-file'; import { Diagnostics } from './diagnostics'; import { ClassSymbol, ElementSymbol, Imported } from './stylable-meta'; import { ImportSymbol, StylableMeta, StylableSymbol } from './stylable-processor'; import { StylableTransformer } from './stylable-transformer'; export declare const resolverWarnings: { UNKNOWN_IMPORTED_FILE(path: string): string; UNKNOWN_IMPORTED_SYMBOL(name: string, path: string): string; }; export interface CSSResolve { _kind: 'css'; symbol: T; meta: StylableMeta; } export interface JSResolve { _kind: 'js'; symbol: any; meta: null; } export declare function isInPath(extendPath: Array>, { symbol: { name: name1 }, meta: { source: source1 } }: CSSResolve): CSSResolve | undefined; export declare class StylableResolver { protected fileProcessor: FileProcessor; protected requireModule: (modulePath: string) => any; constructor(fileProcessor: FileProcessor, requireModule: (modulePath: string) => any); resolveImported(imported: Imported, name: string): CSSResolve | JSResolve | null; resolveImport(importSymbol: ImportSymbol): CSSResolve | JSResolve | null; resolve(maybeImport: StylableSymbol | undefined): CSSResolve | JSResolve | null; deepResolve(maybeImport: StylableSymbol | undefined, path?: StylableSymbol[]): CSSResolve | JSResolve | null; resolveSymbolOrigin(symbol: StylableSymbol | undefined, meta: StylableMeta, path?: StylableSymbol[]): CSSResolve | null; resolveClass(meta: StylableMeta, symbol: StylableSymbol): CSSResolve | null; resolveName(meta: StylableMeta, symbol: StylableSymbol, isElement: boolean): CSSResolve | null; resolveElement(meta: StylableMeta, symbol: StylableSymbol): CSSResolve | null; resolveExtends(meta: StylableMeta, className: string, isElement?: boolean, transformer?: StylableTransformer, reportError?: (res: CSSResolve | JSResolve | null, extend: ImportSymbol | ClassSymbol | ElementSymbol, extendPath: Array>, meta: StylableMeta, className: string, isElement: boolean) => void): Array>; validateImports(meta: StylableMeta, diagnostics: Diagnostics): void; } //# sourceMappingURL=stylable-resolver.d.ts.map