import { File } from "../../core/File"; import { WorkFlowContext, Plugin } from "../../core/WorkflowContext"; export interface SassPluginOptions { includePaths?: string[]; macros?: { [key: string]: string; }; importer?: boolean | ImporterFunc; cache?: boolean; } export interface ImporterFunc { (url: string, prev: string, done: (opts: { url?: string; file?: string; }) => any): any; } /** * @export * @class SassPlugin * @implements {Plugin} */ export declare class SassPluginClass implements Plugin { options: SassPluginOptions; test: RegExp; context: WorkFlowContext; constructor(options?: SassPluginOptions); init(context: WorkFlowContext): void; transform(file: File): Promise; } export declare const SassPlugin: (options?: SassPluginOptions) => SassPluginClass;