/**
 * OrbitalThemeProvider — runtime application of `OrbitalDefinition.theme`.
 *
 * Wraps an orbital's rendered subtree in a wrapping `<div>` that sets the
 * CSS variables derived from `theme.tokens` (and `variants.dark` when the
 * resolved color mode is dark). Inline custom-property declarations on the
 * wrapper override any `[data-theme]` selector rule for the same variable
 * within the subtree, while letting unset variables cascade from the parent.
 *
 * Mapping is delegated to `themeTokensToCssVars`, which mirrors the Rust
 * compiler's `generate_tokens_css`. Compile-time and runtime produce the
 * same CSS variable map for the same `ThemeDefinition` input, so a Studio
 * Design System edit and an `orbital compile` of the same schema render
 * identically.
 *
 * No-op when:
 * - `theme` is `undefined` (orbital declares no theme — parent cascades)
 * - `theme` is a string ref that didn't get inlined upstream
 *
 * @example
 * ```tsx
 * <OrbitalThemeProvider theme={orbital.theme}>
 *   <UISlotRenderer />
 * </OrbitalThemeProvider>
 * ```
 */
import { type ReactElement, type ReactNode } from 'react';
import type { ThemeRef } from '@almadar/core';
export interface OrbitalThemeProviderProps {
    /** The `OrbitalDefinition.theme` value (inline definition or string ref). */
    theme?: ThemeRef;
    children: ReactNode;
}
export declare function OrbitalThemeProvider({ theme, children }: OrbitalThemeProviderProps): ReactElement;
export declare namespace OrbitalThemeProvider {
    var displayName: string;
}
