UNPKG

aliascss

Version:

AliasCSS is a CSS post processor.

39 lines (38 loc) 1.01 kB
type Property = { alias?: string; property?: string; type?: string; values?: string[]; groups?: { [key: string]: string; }; compiler?: (a: string, b: { [key: string]: { [key: string]: string; }; }) => any; }; declare const _default: (key: string, compiler: Property) => ({ [key: string]: Property; } | { [key: string]: string; })[]; export default _default; export declare function staticValueCompiler(property: string, alias: string | boolean | undefined, values: string[]): { [key: string]: string; }; export declare function extractProperty(className: string, data: { [key: string]: Property; }): ({} | null)[]; export declare function generateStaticClassNames(data: { [key: string]: Property; }, global?: string[]): { [key: string]: string; }; export declare function createCompilerObj(obj: { [key: string]: Property; }, globalValue?: string[]): [{ [key: string]: string; }, { [key: string]: Property; }];