import { SerializedStyles, Theme } from '@emotion/react'; import { ComponentPropsWithoutRef } from 'react'; declare const PACKAGE_THEME_KEY: unique symbol; export declare const internalTheme: (props: { theme: Theme; }) => any; export declare const colorSchema: { primary: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; secondary: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; success: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; warning: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; danger: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; info: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; light: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; dark: { colors: { text: string; normal: string; hover: string; active: string; darker: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; link: { colors: { normal: string; hover: string; ring: string; }; style: (props: { theme: Theme; }) => SerializedStyles; }; }; export declare const theme: { fontFamily: string; fontWeight: number; transition: string; variants: {}; colors: {}; sizes: {}; utils: { make: (object: { [key: string]: SerializedStyles; }, prop: string, fallback?: string) => SerializedStyles; }; }; interface Colors { [key: string]: string; } export interface ColorSchema { colors: Colors; style: (props: ComponentPropsWithoutRef) => SerializedStyles; } export declare function addSize(schema: SerializedStyles, name: string): void; export declare function addColorSchema(schema: ColorSchema, name: string): void; export declare const themeComposer: (selfTheme: Theme) => (ancestorTheme: Theme) => { [PACKAGE_THEME_KEY]: Theme; }; export {};