UNPKG

554 BTypeScriptView Raw
1/**
2 * Dictionary of booleans.
3 *
4 * @internal
5 */
6export interface IDictionary {
7 [className: string]: boolean;
8}
9/**
10 * Serializable object.
11 *
12 * @internal
13 */
14export interface ISerializableObject {
15 toString?: () => string;
16}
17/**
18 * css input type.
19 *
20 * @internal
21 */
22export declare type ICssInput = string | ISerializableObject | IDictionary | null | undefined | boolean;
23/**
24 * Concatination helper, which can merge class names together. Skips over falsey values.
25 *
26 * @public
27 */
28export declare function css(...args: ICssInput[]): string;