UNPKG

eyeglass

Version:
18 lines 736 B
import type { AsyncImporter } from "node-sass"; import { IEyeglass } from "../IEyeglass"; import { Config } from "../util/Options"; import { SassImplementation } from "../util/SassImplementation"; export interface ImportedFile { contents: string; file: string; } export declare type ImportContents = { contents: string; file?: string; }; export declare type ImportReference = { file: string; }; export declare type ImporterResult = ImportContents | ImportReference | Error | null; export declare type ImporterFactory = (eyeglass: IEyeglass, sass: SassImplementation, options: Config, fallbackImporter?: AsyncImporter | Array<AsyncImporter> | undefined) => AsyncImporter; //# sourceMappingURL=ImporterFactory.d.ts.map