import { CSSProperties } from 'rax'; import { ThemeType } from './context'; export interface StyleType { [key: string]: CSSProperties; } export interface StyledComponentProps { styles?: ((theme: ThemeType) => T) | StyleType; } export declare type StyleProviderFunction = (theme: ThemeType) => StyleType; export declare const transformUnit: (style: {}, transform: any) => void; export declare function useStyles | keyof T>(styleProvider: T | ((theme: ThemeType) => T), props: StyledComponentProps, classNameCreator: (classnames: (names: N) => CSSProperties) => S): S; export declare const useTheme: () => ThemeType;