import type { ExtractedAnimation, RemappedClassName, RuntimeValue, StyleRuleSet, StyleSheetRegisterCompiledOptions } from "../../types"; import { Effect, Observable } from "../observable"; import { cssVariableObservable } from "./appearance-observables"; export type InjectedStyleContextValue = { styles: Record>; animations: Record; universalVariables: VariableContextValue; }; export type VariableContextValue = Map | number | string | RuntimeValue> | Record | number | string | RuntimeValue>; declare global { var __css_interop: { styles: Map>; keyframes: Map>; rootVariables: Map>; universalVariables: Map>; }; } export declare const opaqueStyles: WeakMap; export declare const VariableContext: import("react").Context; export declare function getStyle(name: string, effect?: Effect): StyleRuleSet | undefined; export declare function getOpaqueStyles(style: Record, effect?: Effect): (StyleRuleSet | Record | void)[]; export declare function getAnimation(name: string, effect: Effect): ExtractedAnimation | undefined; export declare function getVariable(name: string, store?: VariableContextValue, effect?: Effect): import("../../types").RuntimeValueDescriptor | ((acc: import("../../types").PropAccumulator) => RuntimeValue); export declare const getUniversalVariable: (name: string, effect: Effect) => import("../../types").RuntimeValueDescriptor | ((acc: import("../../types").PropAccumulator) => RuntimeValue); export declare function resetData(): void; export declare function injectData(data: StyleSheetRegisterCompiledOptions): void;