import type { MutableRefObject } from 'react'; import type { ThemeParsed, ThemeState, Tokens, UseThemeWithStateProps, Variable, VariableVal, VariableValGeneric } from '../types'; export type ThemeProxied = { [Key in keyof ThemeParsed | keyof Tokens['color']]: ThemeGettable>; } & { [Key in string & {}]?: ThemeGettable>; }; type ThemeGettable = Val & { /** * Tries to return an optimized value that avoids the need for re-rendering: * On web a CSS variable, on iOS a dynamic color, on Android it doesn't * optimize and returns the underyling value. * * See: https://reactnative.dev/docs/dynamiccolorios * * @param platform when "web" it will only return the dynamic value for web, avoiding the iOS dynamic value. * For things like SVG, gradients, or other external components that don't support it, use this option. */ get: (platform?: 'web') => string | (Val extends Variable ? X extends VariableValGeneric ? any : Exclude : Val extends VariableVal ? string | number : unknown); }; export declare function getThemeProxied(_props: UseThemeWithStateProps, _state: ThemeState | null, _keys: MutableRefObject | null>, _schemeKeys?: MutableRefObject | null>): ThemeProxied; export {}; //# sourceMappingURL=getThemeProxied.d.ts.map