declare type PropertyValue = string | number; interface AnyProps { [key: string]: any; } export declare const ifProp: (propName: string) => (onTrue: string | number, onFalse: string | number) => (props: AnyProps) => string | number; export declare const ifDisabled: (onTrue: string | number, onFalse: string | number) => (props: AnyProps) => string | number; export declare const isError: (onTrue: string | number, onFalse: string | number) => (props: AnyProps) => string | number; interface Conditions { default: PropertyValue; [key: string]: PropertyValue; } /** * Selects from a conditions map depending on the props values. `default` * field is **mandatory**. * ```js * selectFrom({ * disabled: 'gray', * error: 'red', * default: 'black', * }); * ``` * * @param conditions Map of conditions and corresponding styled */ export declare const selectFrom: (conditions: Conditions) => (props: AnyProps) => string | number; export {};