import { FC } from 'react';
import { Theme } from '../../stitches.config';
import { ThemeChoice, ThemeControllerProps } from './ThemeController';
export interface ThemeProviderProps extends ThemeControllerProps {
    /**
     * By default the theme is applied globally, using the `body` element.
     *
     * Set `local` to `true` to only apply the theme locally. This can be used in cases where a nested theme is required.
     */
    local?: boolean;
}
export declare const useThemeController: () => [ThemeChoice, () => void];
export declare const useTheme: () => [(string & {
    className: string;
    selector: string;
} & (import("@stitches/react/types/stitches").ThemeTokens<{
    shadows?: {
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        hover?: string | number | boolean | undefined;
        focus?: string | number | boolean | undefined;
    } | undefined;
    colors?: {
        brandYellow9?: string | number | boolean | undefined;
        brandGrey8?: string | number | boolean | undefined;
        brandGrey9?: string | number | boolean | undefined;
        brandGrey10?: string | number | boolean | undefined;
        error9?: string | number | boolean | undefined;
        primary1?: string | number | boolean | undefined;
        primary2?: string | number | boolean | undefined;
        primary3?: string | number | boolean | undefined;
        primary4?: string | number | boolean | undefined;
        primary5?: string | number | boolean | undefined;
        primary6?: string | number | boolean | undefined;
        primary7?: string | number | boolean | undefined;
        primary8?: string | number | boolean | undefined;
        primary9?: string | number | boolean | undefined;
        primary10?: string | number | boolean | undefined;
        primary11?: string | number | boolean | undefined;
        primary12?: string | number | boolean | undefined;
        transparency1?: string | number | boolean | undefined;
        transparency2?: string | number | boolean | undefined;
        transparency3?: string | number | boolean | undefined;
        transparency4?: string | number | boolean | undefined;
        transparency5?: string | number | boolean | undefined;
        transparency6?: string | number | boolean | undefined;
        transparency7?: string | number | boolean | undefined;
        transparency8?: string | number | boolean | undefined;
        transparency9?: string | number | boolean | undefined;
        transparency10?: string | number | boolean | undefined;
        transparency11?: string | number | boolean | undefined;
        transparency12?: string | number | boolean | undefined;
        brandYellow?: string | number | boolean | undefined;
        brandGrey?: string | number | boolean | undefined;
        brand?: string | number | boolean | undefined;
        brandHighlight?: string | number | boolean | undefined;
        brandContrast?: string | number | boolean | undefined;
        brandLowlight?: string | number | boolean | undefined;
        brandBackground?: string | number | boolean | undefined;
        brandActive?: string | number | boolean | undefined;
        background?: string | number | boolean | undefined;
        paper?: string | number | boolean | undefined;
        tooltip?: string | number | boolean | undefined;
        selection?: string | number | boolean | undefined;
        text?: string | number | boolean | undefined;
        textSecondary?: string | number | boolean | undefined;
        textTooltip?: string | number | boolean | undefined;
        primary?: string | number | boolean | undefined;
        primaryHighlight?: string | number | boolean | undefined;
        primaryLowlight?: string | number | boolean | undefined;
        primaryBackground?: string | number | boolean | undefined;
        primaryContrast?: string | number | boolean | undefined;
        primaryActive?: string | number | boolean | undefined;
        default?: string | number | boolean | undefined;
        defaultHighlight?: string | number | boolean | undefined;
        defaultLowlight?: string | number | boolean | undefined;
        defaultBackground?: string | number | boolean | undefined;
        defaultContrast?: string | number | boolean | undefined;
        defaultActive?: string | number | boolean | undefined;
        error?: string | number | boolean | undefined;
        errorHighlight?: string | number | boolean | undefined;
        errorLowlight?: string | number | boolean | undefined;
        errorBackground?: string | number | boolean | undefined;
        errorContrast?: string | number | boolean | undefined;
        errorActive?: string | number | boolean | undefined;
        success?: string | number | boolean | undefined;
        successHighlight?: string | number | boolean | undefined;
        successLowlight?: string | number | boolean | undefined;
        successBackground?: string | number | boolean | undefined;
        successContrast?: string | number | boolean | undefined;
        successActive?: string | number | boolean | undefined;
        warning?: string | number | boolean | undefined;
        warningHighlight?: string | number | boolean | undefined;
        warningLowlight?: string | number | boolean | undefined;
        warningBackground?: string | number | boolean | undefined;
        warningContrast?: string | number | boolean | undefined;
        warningActive?: string | number | boolean | undefined;
        info?: string | number | boolean | undefined;
        infoHighlight?: string | number | boolean | undefined;
        infoLowlight?: string | number | boolean | undefined;
        infoBackground?: string | number | boolean | undefined;
        infoContrast?: string | number | boolean | undefined;
        infoActive?: string | number | boolean | undefined;
        grey1?: string | number | boolean | undefined;
        grey2?: string | number | boolean | undefined;
        grey3?: string | number | boolean | undefined;
        grey4?: string | number | boolean | undefined;
        grey5?: string | number | boolean | undefined;
        grey6?: string | number | boolean | undefined;
        grey7?: string | number | boolean | undefined;
        grey8?: string | number | boolean | undefined;
        grey9?: string | number | boolean | undefined;
        grey10?: string | number | boolean | undefined;
        grey11?: string | number | boolean | undefined;
        grey12?: string | number | boolean | undefined;
        brandYellow1?: string | number | boolean | undefined;
        brandYellow2?: string | number | boolean | undefined;
        brandYellow3?: string | number | boolean | undefined;
        brandYellow4?: string | number | boolean | undefined;
        brandYellow5?: string | number | boolean | undefined;
        brandYellow6?: string | number | boolean | undefined;
        brandYellow7?: string | number | boolean | undefined;
        brandYellow8?: string | number | boolean | undefined;
        brandYellow10?: string | number | boolean | undefined;
        brandYellow11?: string | number | boolean | undefined;
        brandYellow12?: string | number | boolean | undefined;
        brandGrey1?: string | number | boolean | undefined;
        brandGrey2?: string | number | boolean | undefined;
        brandGrey3?: string | number | boolean | undefined;
        brandGrey4?: string | number | boolean | undefined;
        brandGrey5?: string | number | boolean | undefined;
        brandGrey6?: string | number | boolean | undefined;
        brandGrey7?: string | number | boolean | undefined;
        brandGrey11?: string | number | boolean | undefined;
        brandGrey12?: string | number | boolean | undefined;
        error1?: string | number | boolean | undefined;
        error2?: string | number | boolean | undefined;
        error3?: string | number | boolean | undefined;
        error4?: string | number | boolean | undefined;
        error5?: string | number | boolean | undefined;
        error6?: string | number | boolean | undefined;
        error7?: string | number | boolean | undefined;
        error8?: string | number | boolean | undefined;
        error10?: string | number | boolean | undefined;
        error11?: string | number | boolean | undefined;
        error12?: string | number | boolean | undefined;
        info1?: string | number | boolean | undefined;
        info2?: string | number | boolean | undefined;
        info3?: string | number | boolean | undefined;
        info4?: string | number | boolean | undefined;
        info5?: string | number | boolean | undefined;
        info6?: string | number | boolean | undefined;
        info7?: string | number | boolean | undefined;
        info8?: string | number | boolean | undefined;
        info9?: string | number | boolean | undefined;
        info10?: string | number | boolean | undefined;
        info11?: string | number | boolean | undefined;
        info12?: string | number | boolean | undefined;
        warning1?: string | number | boolean | undefined;
        warning2?: string | number | boolean | undefined;
        warning3?: string | number | boolean | undefined;
        warning4?: string | number | boolean | undefined;
        warning5?: string | number | boolean | undefined;
        warning6?: string | number | boolean | undefined;
        warning7?: string | number | boolean | undefined;
        warning8?: string | number | boolean | undefined;
        warning9?: string | number | boolean | undefined;
        warning10?: string | number | boolean | undefined;
        warning11?: string | number | boolean | undefined;
        warning12?: string | number | boolean | undefined;
        success1?: string | number | boolean | undefined;
        success2?: string | number | boolean | undefined;
        success3?: string | number | boolean | undefined;
        success4?: string | number | boolean | undefined;
        success5?: string | number | boolean | undefined;
        success6?: string | number | boolean | undefined;
        success7?: string | number | boolean | undefined;
        success8?: string | number | boolean | undefined;
        success9?: string | number | boolean | undefined;
        success10?: string | number | boolean | undefined;
        success11?: string | number | boolean | undefined;
        success12?: string | number | boolean | undefined;
        white?: string | number | boolean | undefined;
        black?: string | number | boolean | undefined;
    } | undefined;
    space?: {
        0?: string | number | boolean | undefined;
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        4?: string | number | boolean | undefined;
        5?: string | number | boolean | undefined;
        6?: string | number | boolean | undefined;
        7?: string | number | boolean | undefined;
        8?: string | number | boolean | undefined;
        9?: string | number | boolean | undefined;
        10?: string | number | boolean | undefined;
        11?: string | number | boolean | undefined;
        12?: string | number | boolean | undefined;
        13?: string | number | boolean | undefined;
        14?: string | number | boolean | undefined;
        15?: string | number | boolean | undefined;
        16?: string | number | boolean | undefined;
    } | undefined;
    sizes?: {
        0?: string | number | boolean | undefined;
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        4?: string | number | boolean | undefined;
        5?: string | number | boolean | undefined;
        6?: string | number | boolean | undefined;
        7?: string | number | boolean | undefined;
        8?: string | number | boolean | undefined;
        9?: string | number | boolean | undefined;
        10?: string | number | boolean | undefined;
        11?: string | number | boolean | undefined;
        12?: string | number | boolean | undefined;
        13?: string | number | boolean | undefined;
        14?: string | number | boolean | undefined;
        15?: string | number | boolean | undefined;
        16?: string | number | boolean | undefined;
        sm?: string | number | boolean | undefined;
        md?: string | number | boolean | undefined;
        lg?: string | number | boolean | undefined;
        xl?: string | number | boolean | undefined;
    } | undefined;
    fontSizes?: {
        [-2]?: string | number | boolean | undefined;
        [-1]?: string | number | boolean | undefined;
        0?: string | number | boolean | undefined;
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        4?: string | number | boolean | undefined;
        5?: string | number | boolean | undefined;
        6?: string | number | boolean | undefined;
        7?: string | number | boolean | undefined;
        8?: string | number | boolean | undefined;
    } | undefined;
    fonts?: {
        system?: string | number | boolean | undefined;
        display?: string | number | boolean | undefined;
        monospace?: string | number | boolean | undefined;
        text?: string | number | boolean | undefined;
    } | undefined;
    fontWeights?: {
        regular?: string | number | boolean | undefined;
        bold?: string | number | boolean | undefined;
        light?: string | number | boolean | undefined;
    } | undefined;
    lineHeights?: {
        body?: string | number | boolean | undefined;
        none?: string | number | boolean | undefined;
        tight?: string | number | boolean | undefined;
    } | undefined;
    letterSpacings?: {
        normal?: string | number | boolean | undefined;
        tight?: string | number | boolean | undefined;
        tighter?: string | number | boolean | undefined;
        wide?: string | number | boolean | undefined;
    } | undefined;
    borderWidths?: {
        default?: string | number | boolean | undefined;
    } | undefined;
    borderStyles?: {} | undefined;
    radii?: {
        default?: string | number | boolean | undefined;
        round?: string | number | boolean | undefined;
        pill?: string | number | boolean | undefined;
    } | undefined;
    zIndices?: {
        toast?: string | number | boolean | undefined;
    } | undefined;
    transitions?: {} | undefined;
} & {
    [x: string]: {
        [x: string]: string | number | boolean;
        [x: number]: string | number | boolean;
    };
}, ""> | import("@stitches/react/types/stitches").ThemeTokens<string | ({
    shadows?: {
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        hover?: string | number | boolean | undefined;
        focus?: string | number | boolean | undefined;
    } | undefined;
    colors?: {
        brandYellow9?: string | number | boolean | undefined;
        brandGrey8?: string | number | boolean | undefined;
        brandGrey9?: string | number | boolean | undefined;
        brandGrey10?: string | number | boolean | undefined;
        error9?: string | number | boolean | undefined;
        primary1?: string | number | boolean | undefined;
        primary2?: string | number | boolean | undefined;
        primary3?: string | number | boolean | undefined;
        primary4?: string | number | boolean | undefined;
        primary5?: string | number | boolean | undefined;
        primary6?: string | number | boolean | undefined;
        primary7?: string | number | boolean | undefined;
        primary8?: string | number | boolean | undefined;
        primary9?: string | number | boolean | undefined;
        primary10?: string | number | boolean | undefined;
        primary11?: string | number | boolean | undefined;
        primary12?: string | number | boolean | undefined;
        transparency1?: string | number | boolean | undefined;
        transparency2?: string | number | boolean | undefined;
        transparency3?: string | number | boolean | undefined;
        transparency4?: string | number | boolean | undefined;
        transparency5?: string | number | boolean | undefined;
        transparency6?: string | number | boolean | undefined;
        transparency7?: string | number | boolean | undefined;
        transparency8?: string | number | boolean | undefined;
        transparency9?: string | number | boolean | undefined;
        transparency10?: string | number | boolean | undefined;
        transparency11?: string | number | boolean | undefined;
        transparency12?: string | number | boolean | undefined;
        brandYellow?: string | number | boolean | undefined;
        brandGrey?: string | number | boolean | undefined;
        brand?: string | number | boolean | undefined;
        brandHighlight?: string | number | boolean | undefined;
        brandContrast?: string | number | boolean | undefined;
        brandLowlight?: string | number | boolean | undefined;
        brandBackground?: string | number | boolean | undefined;
        brandActive?: string | number | boolean | undefined;
        background?: string | number | boolean | undefined;
        paper?: string | number | boolean | undefined;
        tooltip?: string | number | boolean | undefined;
        selection?: string | number | boolean | undefined;
        text?: string | number | boolean | undefined;
        textSecondary?: string | number | boolean | undefined;
        textTooltip?: string | number | boolean | undefined;
        primary?: string | number | boolean | undefined;
        primaryHighlight?: string | number | boolean | undefined;
        primaryLowlight?: string | number | boolean | undefined;
        primaryBackground?: string | number | boolean | undefined;
        primaryContrast?: string | number | boolean | undefined;
        primaryActive?: string | number | boolean | undefined;
        default?: string | number | boolean | undefined;
        defaultHighlight?: string | number | boolean | undefined;
        defaultLowlight?: string | number | boolean | undefined;
        defaultBackground?: string | number | boolean | undefined;
        defaultContrast?: string | number | boolean | undefined;
        defaultActive?: string | number | boolean | undefined;
        error?: string | number | boolean | undefined;
        errorHighlight?: string | number | boolean | undefined;
        errorLowlight?: string | number | boolean | undefined;
        errorBackground?: string | number | boolean | undefined;
        errorContrast?: string | number | boolean | undefined;
        errorActive?: string | number | boolean | undefined;
        success?: string | number | boolean | undefined;
        successHighlight?: string | number | boolean | undefined;
        successLowlight?: string | number | boolean | undefined;
        successBackground?: string | number | boolean | undefined;
        successContrast?: string | number | boolean | undefined;
        successActive?: string | number | boolean | undefined;
        warning?: string | number | boolean | undefined;
        warningHighlight?: string | number | boolean | undefined;
        warningLowlight?: string | number | boolean | undefined;
        warningBackground?: string | number | boolean | undefined;
        warningContrast?: string | number | boolean | undefined;
        warningActive?: string | number | boolean | undefined;
        info?: string | number | boolean | undefined;
        infoHighlight?: string | number | boolean | undefined;
        infoLowlight?: string | number | boolean | undefined;
        infoBackground?: string | number | boolean | undefined;
        infoContrast?: string | number | boolean | undefined;
        infoActive?: string | number | boolean | undefined;
        grey1?: string | number | boolean | undefined;
        grey2?: string | number | boolean | undefined;
        grey3?: string | number | boolean | undefined;
        grey4?: string | number | boolean | undefined;
        grey5?: string | number | boolean | undefined;
        grey6?: string | number | boolean | undefined;
        grey7?: string | number | boolean | undefined;
        grey8?: string | number | boolean | undefined;
        grey9?: string | number | boolean | undefined;
        grey10?: string | number | boolean | undefined;
        grey11?: string | number | boolean | undefined;
        grey12?: string | number | boolean | undefined;
        brandYellow1?: string | number | boolean | undefined;
        brandYellow2?: string | number | boolean | undefined;
        brandYellow3?: string | number | boolean | undefined;
        brandYellow4?: string | number | boolean | undefined;
        brandYellow5?: string | number | boolean | undefined;
        brandYellow6?: string | number | boolean | undefined;
        brandYellow7?: string | number | boolean | undefined;
        brandYellow8?: string | number | boolean | undefined;
        brandYellow10?: string | number | boolean | undefined;
        brandYellow11?: string | number | boolean | undefined;
        brandYellow12?: string | number | boolean | undefined;
        brandGrey1?: string | number | boolean | undefined;
        brandGrey2?: string | number | boolean | undefined;
        brandGrey3?: string | number | boolean | undefined;
        brandGrey4?: string | number | boolean | undefined;
        brandGrey5?: string | number | boolean | undefined;
        brandGrey6?: string | number | boolean | undefined;
        brandGrey7?: string | number | boolean | undefined;
        brandGrey11?: string | number | boolean | undefined;
        brandGrey12?: string | number | boolean | undefined;
        error1?: string | number | boolean | undefined;
        error2?: string | number | boolean | undefined;
        error3?: string | number | boolean | undefined;
        error4?: string | number | boolean | undefined;
        error5?: string | number | boolean | undefined;
        error6?: string | number | boolean | undefined;
        error7?: string | number | boolean | undefined;
        error8?: string | number | boolean | undefined;
        error10?: string | number | boolean | undefined;
        error11?: string | number | boolean | undefined;
        error12?: string | number | boolean | undefined;
        info1?: string | number | boolean | undefined;
        info2?: string | number | boolean | undefined;
        info3?: string | number | boolean | undefined;
        info4?: string | number | boolean | undefined;
        info5?: string | number | boolean | undefined;
        info6?: string | number | boolean | undefined;
        info7?: string | number | boolean | undefined;
        info8?: string | number | boolean | undefined;
        info9?: string | number | boolean | undefined;
        info10?: string | number | boolean | undefined;
        info11?: string | number | boolean | undefined;
        info12?: string | number | boolean | undefined;
        warning1?: string | number | boolean | undefined;
        warning2?: string | number | boolean | undefined;
        warning3?: string | number | boolean | undefined;
        warning4?: string | number | boolean | undefined;
        warning5?: string | number | boolean | undefined;
        warning6?: string | number | boolean | undefined;
        warning7?: string | number | boolean | undefined;
        warning8?: string | number | boolean | undefined;
        warning9?: string | number | boolean | undefined;
        warning10?: string | number | boolean | undefined;
        warning11?: string | number | boolean | undefined;
        warning12?: string | number | boolean | undefined;
        success1?: string | number | boolean | undefined;
        success2?: string | number | boolean | undefined;
        success3?: string | number | boolean | undefined;
        success4?: string | number | boolean | undefined;
        success5?: string | number | boolean | undefined;
        success6?: string | number | boolean | undefined;
        success7?: string | number | boolean | undefined;
        success8?: string | number | boolean | undefined;
        success9?: string | number | boolean | undefined;
        success10?: string | number | boolean | undefined;
        success11?: string | number | boolean | undefined;
        success12?: string | number | boolean | undefined;
        white?: string | number | boolean | undefined;
        black?: string | number | boolean | undefined;
    } | undefined;
    space?: {
        0?: string | number | boolean | undefined;
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        4?: string | number | boolean | undefined;
        5?: string | number | boolean | undefined;
        6?: string | number | boolean | undefined;
        7?: string | number | boolean | undefined;
        8?: string | number | boolean | undefined;
        9?: string | number | boolean | undefined;
        10?: string | number | boolean | undefined;
        11?: string | number | boolean | undefined;
        12?: string | number | boolean | undefined;
        13?: string | number | boolean | undefined;
        14?: string | number | boolean | undefined;
        15?: string | number | boolean | undefined;
        16?: string | number | boolean | undefined;
    } | undefined;
    sizes?: {
        0?: string | number | boolean | undefined;
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        4?: string | number | boolean | undefined;
        5?: string | number | boolean | undefined;
        6?: string | number | boolean | undefined;
        7?: string | number | boolean | undefined;
        8?: string | number | boolean | undefined;
        9?: string | number | boolean | undefined;
        10?: string | number | boolean | undefined;
        11?: string | number | boolean | undefined;
        12?: string | number | boolean | undefined;
        13?: string | number | boolean | undefined;
        14?: string | number | boolean | undefined;
        15?: string | number | boolean | undefined;
        16?: string | number | boolean | undefined;
        sm?: string | number | boolean | undefined;
        md?: string | number | boolean | undefined;
        lg?: string | number | boolean | undefined;
        xl?: string | number | boolean | undefined;
    } | undefined;
    fontSizes?: {
        [-2]?: string | number | boolean | undefined;
        [-1]?: string | number | boolean | undefined;
        0?: string | number | boolean | undefined;
        1?: string | number | boolean | undefined;
        2?: string | number | boolean | undefined;
        3?: string | number | boolean | undefined;
        4?: string | number | boolean | undefined;
        5?: string | number | boolean | undefined;
        6?: string | number | boolean | undefined;
        7?: string | number | boolean | undefined;
        8?: string | number | boolean | undefined;
    } | undefined;
    fonts?: {
        system?: string | number | boolean | undefined;
        display?: string | number | boolean | undefined;
        monospace?: string | number | boolean | undefined;
        text?: string | number | boolean | undefined;
    } | undefined;
    fontWeights?: {
        regular?: string | number | boolean | undefined;
        bold?: string | number | boolean | undefined;
        light?: string | number | boolean | undefined;
    } | undefined;
    lineHeights?: {
        body?: string | number | boolean | undefined;
        none?: string | number | boolean | undefined;
        tight?: string | number | boolean | undefined;
    } | undefined;
    letterSpacings?: {
        normal?: string | number | boolean | undefined;
        tight?: string | number | boolean | undefined;
        tighter?: string | number | boolean | undefined;
        wide?: string | number | boolean | undefined;
    } | undefined;
    borderWidths?: {
        default?: string | number | boolean | undefined;
    } | undefined;
    borderStyles?: {} | undefined;
    radii?: {
        default?: string | number | boolean | undefined;
        round?: string | number | boolean | undefined;
        pill?: string | number | boolean | undefined;
    } | undefined;
    zIndices?: {
        toast?: string | number | boolean | undefined;
    } | undefined;
    transitions?: {} | undefined;
} & {
    [x: string]: {
        [x: string]: string | number | boolean;
        [x: number]: string | number | boolean;
    };
}), "">)) | undefined, (token: string) => string];
/**
 * The `ComponentsProvider`should wrap you application, it includes the `ThemeProvider`.
 *
 * By default it will switch from light to dark mode depending on the users preference determined by the
 * `prefers-color-scheme: dark` media query. You can fix the theme by setting the `choice` prop.
 *
 * The themes can be overridden using the exported `theme` function and set on the `light` and `dark` props.
 *
 * The `ThemeSwitch` component can also be used to switch the theme.
 */
export declare const ThemeProvider: FC<ThemeProviderProps>;
