import React, { ReactNode } from 'react'; import { CSSRule } from '@karma.run/react'; export interface ThemeColors { primary: string; primaryDark: string; action: string; actionDark: string; success: string; successDark: string; alert: string; alertDark: string; gray: string; grayDark: string; grayLight: string; light: string; dark: string; white: string; black: string; } export interface Theme { colors: ThemeColors; } export declare const ThemeContext: React.Context; export interface ThemeProviderProps { theme?: Theme; children?: ReactNode; } export declare function ThemeProvider({ theme, children }: ThemeProviderProps): JSX.Element; export declare function useThemeStyle(): (...rules: CSSRule<{ theme: Theme; }>[]) => string; export declare function useThemeStyle

(props: P): (...rules: CSSRule

[]) => string; export declare type CSSRuleWithTheme

= CSSRule

; export declare function cssRuleWithTheme

(styleFn: CSSRuleWithTheme

): CSSRuleWithTheme

; export declare function themeMiddleware(): { theme: Theme; }; //# sourceMappingURL=themeContext.d.ts.map