2017-03-05 17:29:46 +00:00
|
|
|
import { Result } from 'node-sass';
|
|
|
|
export interface ISmartsassConstructorOptions {
|
|
|
|
entryFilePath: string;
|
2017-03-11 23:55:34 +00:00
|
|
|
includePaths?: string[];
|
2017-03-05 17:29:46 +00:00
|
|
|
}
|
|
|
|
export declare class Smartsass {
|
2017-03-11 23:55:34 +00:00
|
|
|
includePaths: any[];
|
2017-03-05 17:29:46 +00:00
|
|
|
entryFilePath: string;
|
|
|
|
constructor(optionsArg: ISmartsassConstructorOptions);
|
|
|
|
/**
|
|
|
|
* renders the Smartsass classes' entryfile and returns result as string
|
|
|
|
*/
|
|
|
|
render(): Promise<Result>;
|
|
|
|
/**
|
|
|
|
* renders and stores
|
|
|
|
*/
|
|
|
|
renderAndStore(outputFilePath: string): Promise<void>;
|
|
|
|
}
|