import { PuptElement, RenderOptions, RenderResult } from './types'; /** * Render a PuptElement tree to a string. * * This function is async to support components with async render methods. * Components can perform async operations like API calls in their render methods. * * @param element - The root PuptElement to render * @param options - Render options including inputs and environment * @returns A Promise resolving to the RenderResult * * @example * ```typescript * const result = await render(); * console.log(result.text); * ``` */ export declare function render(element: PuptElement, options?: RenderOptions): Promise; //# sourceMappingURL=render.d.ts.map