import { ReactNode } from 'react'; export interface PageHeaderProps { /** Page title - displayed as h1 */ title: string; /** Page description - displayed below title */ description?: string; /** Optional action buttons or elements on the right side */ actions?: ReactNode; /** Error message to display below the header */ error?: string | null; /** * Secondary line under the message, for the raw detail a server returned. * Kept separate so the message stays readable when the detail is long. */ errorDetail?: string | null; /** * Callback for the Retry button, rendered before the dismiss control when * set. Dismissal is a pure dismissal and must not retry, which is why these * are two props rather than one. */ onRetry?: () => void; /** Label for the Retry button. Default: "Retry" */ retryLabel?: string; /** Callback when error is dismissed */ onErrorDismiss?: () => void; /** Additional CSS class names */ className?: string; /** Accessible label for the error-dismiss button. Default: "Dismiss error" */ dismissErrorLabel?: string; } export declare function PageHeader({ title, description, actions, error, onErrorDismiss, className, errorDetail, onRetry, retryLabel, dismissErrorLabel, }: PageHeaderProps): import("react").JSX.Element;