/**
 * Theme utilities for Riverbank CMS
 *
 * These utilities help you work with Builder themes in your application.
 */
/**
 * Apply a Builder theme to the DOM by injecting CSS variables
 *
 * @param theme - The theme object from Riverbank CMS
 * @param element - The element to apply the theme to (default: document.documentElement)
 *
 * @example
 * ```ts
 * const site = await client.getSite({ slug: 'my-site' });
 * applyTheme(site.theme);
 * ```
 */
declare function applyTheme(theme: Record<string, unknown>, element?: HTMLElement): void;
/**
 * Create a theme object with type-safe defaults
 *
 * @param partial - Partial theme configuration
 * @returns Complete theme object
 *
 * @example
 * ```ts
 * const customTheme = createTheme({
 *   colors: {
 *     primary: '#007bff',
 *   },
 * });
 * ```
 */
declare function createTheme(partial?: Record<string, unknown>): Record<string, unknown>;
/**
 * Re-export theme types from @riverbankcms/blocks when available
 */
type Theme = Record<string, unknown>;

export { type Theme, applyTheme, createTheme };
