/**
 * Runtime Hydration Layer
 *
 * Phase 5: Browser-side runtime that hydrates static HTML with dynamic expressions
 *
 * This runtime:
 * - Locates DOM placeholders (data-zen-text, data-zen-attr-*)
 * - Evaluates precompiled expressions against state
 * - Updates DOM textContent, attributes, and properties
 * - Binds event handlers
 * - Handles reactive state updates
 */
/**
 * Expression registry - maps expression IDs to their evaluation functions
 * Populated at runtime with compiled expressions
 */
declare global {
    interface Window {
        __ZENITH_EXPRESSIONS__?: Map<string, (state: any) => any>;
        __ZENITH_STATE__?: any;
    }
}
/**
 * Hydrate static HTML with dynamic expressions
 *
 * @param state - The state object to evaluate expressions against
 * @param container - The container element to hydrate (defaults to document)
 */
export declare function hydrate(state: any, container?: Document | Element): void;
/**
 * Bind event handlers to DOM elements
 *
 * @param container - The container element to bind events in (defaults to document)
 */
export declare function bindEvents(container?: Document | Element): void;
/**
 * Update all bindings when state changes
 *
 * @param state - The new state object
 */
export declare function update(state: any): void;
/**
 * Initialize the expression registry
 * Called once when the runtime loads
 *
 * @param expressions - Map of expression IDs to evaluation functions
 */
export declare function initExpressions(expressions: Map<string, (state: any) => any>): void;
/**
 * Clear all bindings and event listeners
 * Useful for cleanup when navigating away
 */
export declare function cleanup(container?: Document | Element): void;
