aliascss
Version:
AliasCSS is a CSS post processor.
28 lines (27 loc) • 1.21 kB
TypeScript
export default function main(config: {
['input']: string | string[];
[key: string]: any;
}): void;
export declare function globalCSSCompiler(): void;
export declare function compileFile(file: string, config: any, statementMaker: {
['make']: (a: string) => string;
group: (a: string, b: string) => string;
['rawCSS']?: string;
['customGroupStatement']?: string;
}, globalClassList: string[]): string[];
export declare function groupStatement(name: string, classNames: string, statementMaker: {
['group']: (a: string, b: string) => string;
}): string;
export declare function keyframesStatement(name: string, timeLine: string, statementMaker: {
['make']: (a: string, b?: string | null, c?: boolean) => string;
}): string;
export declare function createCSSFileByFile(file: string, bool?: boolean): void;
export declare function postify(file: string, plugin: any[], minify?: boolean): void;
export declare function writeStatementToFile(file: string, content: string, from?: string): void;
export declare function initialize(configFile: {
[key: string]: any;
}): void;
export declare function watch(config: {
['input']: string | string[];
[key: string]: any;
}): void;