//#region src/render/getRenderData.d.ts
/**
 * Helper function for compositions to read custom render data.
 *
 * Supports both runtime data (set by Playwright/CLI via window.EF_RENDER_DATA)
 * and build-time data (set by Vite define as RENDER_DATA).
 */
/**
 * Get custom render data that was passed to the render process.
 *
 * @returns The render data object, or undefined if no data was provided
 *
 * @example
 * ```typescript
 * import { getRenderData } from "@editframe/elements";
 *
 * interface MyRenderData {
 *   userName: string;
 *   theme: "light" | "dark";
 * }
 *
 * const data = getRenderData<MyRenderData>();
 * if (data) {
 *   console.log(data.userName);  // "John"
 * }
 * ```
 */
declare function getRenderData<T = unknown>(): T | undefined;
//#endregion
export { getRenderData };
//# sourceMappingURL=getRenderData.d.ts.map