import { Children } from "@alloy-js/core"; import { ExecutionContext, GeneratorFunctionResult } from "@power-plant/core"; //#region src/render.d.ts /** * A function to render template components within the [Alloy-js](https://alloy-framework.github.io) context, and register any generated documents on the execution context. * * @example * ```tsx * import { render } from "@power-plant/alloy-js/render"; * * await renderBase(context, <> ... ); * ``` * * @param context - The Power Plant execution context. * @param template - The children components to render. * @returns A promise that resolves when rendering is complete. */ declare function renderBase(context: ExecutionContext, template: Children): Promise>; /** * A function to render children components within the [Alloy](https://alloy-framework.github.io) context, and register any generated documents on the execution context. * * @example * ```tsx * import { render } from "@power-plant/alloy-js/render"; * * await render(<> ... ); * ``` * * @param template - The children components to render. * @returns A promise that resolves when rendering is complete. */ declare function render(template: Children): Promise>; //#endregion export { render, renderBase }; //# sourceMappingURL=render.d.cts.map