/**
 * @file themeRegistry.ts
 * @input DefinedTheme objects from defineTheme() or built theme packages
 * @output Exports registerTheme, getRegisteredTheme, getRegisteredThemes, resetThemes
 * @position Server-safe theme registry for theme-name-based SSR resolution
 *
 * This module has NO 'use client' directive. It is importable from SSR/RSC and
 * lets code resolve theme data by stable theme name without React context.
 */
import type { DefinedTheme } from './defineTheme';
/**
 * Register a defined theme under its `name`.
 *
 * Registration is idempotent and replaces any previous theme with the same
 * name. Call from app initialization, theme packages, or <Theme> to make the
 * theme available to SSR-safe resolvers by name.
 */
export declare function registerTheme(theme: DefinedTheme): void;
/**
 * Return a previously registered theme by name.
 */
export declare function getRegisteredTheme(name: string | null | undefined): DefinedTheme | null;
/**
 * Return all registered themes keyed by theme name.
 */
export declare function getRegisteredThemes(): ReadonlyMap<string, DefinedTheme>;
/**
 * Reset the theme registry. For testing only.
 * @internal
 */
export declare function resetThemes(): void;
//# sourceMappingURL=themeRegistry.d.ts.map