import type { CompiledTemplate } from './template-compiler';
/**
 * Hydrate a pre-compiled template with request-time data.
 *
 * This is the serve-time counterpart to compileTemplate(). It takes a
 * compiled template (with placeholder tokens) and a request context,
 * executes server scripts, evaluates expressions, and returns final HTML.
 *
 * @param compiled - The pre-compiled template from build time
 * @param requestContext - Request-time context (route params, session, etc.)
 * @returns Final HTML ready to send to the browser
 */
export declare function hydrateTemplate(compiled: CompiledTemplate, requestContext?: Record<string, any>): Promise<string>;
/**
 * Hydrate a fragment (for SPA navigation).
 * Same as hydrateTemplate but returns the fragment portion.
 */
export declare function hydrateFragment(compiled: CompiledTemplate, requestContext?: Record<string, any>): Promise<string>;
