10 lines
368 B
TypeScript
10 lines
368 B
TypeScript
|
import { PartialMessage } from 'esbuild';
|
||
|
import { SassPluginOptions } from './index';
|
||
|
export type RenderSync = (path: string) => RenderResult;
|
||
|
export type RenderResult = {
|
||
|
cssText: string;
|
||
|
watchFiles: string[];
|
||
|
warnings?: PartialMessage[];
|
||
|
};
|
||
|
export declare function createRenderer(options: SassPluginOptions | undefined, sourcemap: boolean): RenderSync;
|