import React from 'react';
import type { Theme } from '../../stitches.config';
export declare type ThemeChoice = 'light' | 'dark';
export interface ThemeControllerProps {
    /**
     * The light theme
     *
     */
    light?: Theme;
    /**
     * The dark theme
     */
    dark?: Theme;
    /**
     * Force the theme choice, if null use browser preference
     */
    choice?: null | ThemeChoice;
    /**
     * Elements to be themed
     */
    children?: React.ReactNode;
}
export declare const ThemeContext: React.Context<{
    choice: ThemeChoice;
    theme: Theme | undefined;
    toggle: () => void;
}>;
export declare const ThemeController: React.FC<ThemeControllerProps>;
