import type { ReactNode } from 'react';
type Mode = 'light' | 'dark' | 'system';
interface ThemeCtx {
mode: Mode;
resolved: 'light' | 'dark';
setMode(mode: Mode): void;
}
export declare function ThemeProvider({ defaultMode, children, }: {
defaultMode?: Mode;
children: ReactNode;
}): import("react").JSX.Element;
export declare function useTheme(): ThemeCtx;
/**
* `` — theme-aware text element carried over from v0.25. Renders a
* `` whose color follows the resolved theme.
*/
export declare function T({ children, tone, }: {
children: ReactNode;
tone?: 'default' | 'muted' | 'strong';
}): import("react").JSX.Element;
export {};
//# sourceMappingURL=theme.d.ts.map