/// import { types } from 'typestyle'; import { ElementCreator } from './types'; export declare const isDev: boolean; export declare const snakeToCamel: (s: string) => string; export declare const upperCase: (s: string) => string; export declare const snakeToReactName: (s: string) => string; /** * Very simple styled component kinda thing. * * ```js * const {style} = createTypeStyle() * const make = makeComponent(React.createElement,style) * const Div = make('div') * const Red = Div({color:'red'}) * // use it: * some text * ``` */ export declare const makeComponent: (createElement: ElementCreator, style: (...objects: (false | types.NestedCSSProperties | null | undefined)[]) => string) => (tagName: string) => (mainStyle: types.NestedCSSProperties, ...styles: types.NestedCSSProperties[]) => (props?: any) => import("react").ReactElement;