import type { AnimationDriver, GenericTamaguiSettings, TamaguiInternalConfig, Token, Tokens, TokensMerged } from './types'; export declare const getSetting: (key: Key) => GenericTamaguiSettings[Key]; export declare const setConfig: (next: TamaguiInternalConfig) => void; export declare const setConfigFont: (name: string, font: any, fontParsed: any) => void; export declare const getConfig: () => TamaguiInternalConfig; export declare const getConfigMaybe: () => TamaguiInternalConfig | null; export declare function setTokens(_: TokensMerged): void; export declare const getTokens: ({ prefixed, }?: { /** * Force either with $ or without $ prefix */ prefixed?: boolean; }) => TokensMerged; export declare const getTokenObject: (value: Token, group?: keyof Tokens) => import("./types").Variable; export declare const getToken: (value: Token, group?: keyof Tokens, useVariable?: boolean) => any; export declare const getTokenValue: (value: Token | "unset" | "auto", group?: keyof Tokens) => any; /** * Note: this is the same as `getTokens` */ export declare const useTokens: ({ prefixed, }?: { /** * Force either with $ or without $ prefix */ prefixed?: boolean; }) => TokensMerged; export declare const getThemes: () => { [x: string]: { [x: string]: import("./types").Variable | import("./types").Variable | import("./types").Variable | import("./types").Variable | import("./types").Variable; background?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; backgroundHover?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; backgroundPress?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; backgroundFocus?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; color?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; colorHover?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; colorPress?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; colorFocus?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; borderColor?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; borderColorHover?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; borderColorPress?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; borderColorFocus?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; shadowColor?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; shadowColorHover?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; shadowColorPress?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; shadowColorFocus?: import("./types").Variable | import("./types").Variable | import("./types").Variable | undefined; }; }; export declare const updateConfig: (key: string, value: any) => void; export declare const getFont: (name: string) => import("./types").GenericFont; type DevConfig = { visualizer?: boolean | { key?: string; delay?: number; }; }; export declare let devConfig: DevConfig | undefined; export declare function setupDev(conf: DevConfig): void; /** * Dynamically load an animation driver at runtime. * Useful for lazy loading heavier animation drivers after initial page load. * * @example * ```tsx * // import loadAnimationDriver from tamagui * // import createAnimations from your preferred driver (e.g. animations-reanimated) * * const driver = createAnimations({ bouncy: { type: 'spring', damping: 10 } }) * loadAnimationDriver('spring', driver) * ``` */ export declare function loadAnimationDriver(name: string, driver: AnimationDriver): void; export {}; //# sourceMappingURL=config.d.ts.map