import { DialogConfig } from "../../dialog/Dialog.types.js"; import { BaseRecord } from "@refinedev/core"; import React, { ReactNode } from "react"; //#region src/components/shared/utils/renderHeader.d.ts interface HeaderRenderConfig { /** Actions for the header */ actions?: any[]; /** CSS class name for the header container */ className?: string; /** Description for the header */ description?: string; /** Dialog configuration (required for dialog contexts) */ dialogConfig?: DialogConfig; /** Header configuration - can be false, ReactNode, or function */ header?: ((environment: any) => ReactNode) | false | ReactNode; /** Whether this is rendered in a dialog context */ isDialog?: boolean; /** Title for the header */ title?: string; /** Configuration object for UnifiedHeader */ unifiedHeaderConfig?: any; } /** * Shared header rendering utility that standardizes header rendering * across dialogs and forms in the portal framework. * * This utility handles: * - Function-based headers with environment context * - Static header content * - Disabled headers (header: false) * - Default UnifiedHeader fallback * - Dialog vs standalone contexts * - Wizard/step form detection for dialogs */ declare function renderHeader(config: HeaderRenderConfig): React.ReactNode; //#endregion export { HeaderRenderConfig, renderHeader }; //# sourceMappingURL=renderHeader.d.ts.map