import React from 'react';
import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes';
export { presetDefault } from './presets/presetDefault';
export declare type ThemePreset = {
    color: {
        primary: string;
    };
    control: string;
    font: string;
    size: string;
    space: string;
};
declare type Props = {
    preset: ThemePreset;
};
export declare type ThemeProps = PropsWithHTMLAttributes<Props, HTMLDivElement>;
export declare const cnTheme: import("@bem-react/classname").ClassNameFormatter;
export declare function generateThemeClassNames(preset: ThemePreset): ThemePreset;
export declare const ThemeContext: React.Context<{
    theme: ThemePreset;
    themeClassNames: ThemePreset;
}>;
export declare const Theme: React.ForwardRefExoticComponent<Props & Omit<React.HTMLAttributes<HTMLDivElement>, "css" | "preset"> & React.RefAttributes<HTMLDivElement>>;
export declare function useTheme(): {
    theme: ThemePreset;
    themeClassNames: ThemePreset;
};
