import type { EntityConfig } from '../../lib/entities/types';
export interface EntityDetailHeaderProps {
    /** Entity configuration */
    entityConfig: EntityConfig;
    /** Page mode - determines which features are shown */
    mode?: 'view' | 'edit' | 'create';
    /** Entity data (optional for create mode) */
    entity?: {
        id: string;
        createdAt?: string;
        updatedAt?: string;
        title?: string;
        name?: string;
        displayName?: string;
        [key: string]: unknown;
    };
    /** Custom title override */
    title?: string;
    /** Custom back URL (default: /dashboard/{entityConfig.slug}) */
    backHref?: string;
    /** Custom back label (default: entityConfig.names.plural) */
    backLabel?: string;
    /** Delete dialog title */
    deleteTitle?: string;
    /** Delete dialog description */
    deleteDescription?: string;
    /** Badges slot for status, type indicators (view/edit modes only) */
    badges?: React.ReactNode;
    /** Whether to show created/updated dates (default: true, only in view mode) */
    showDates?: boolean;
    /** Edit handler - if not provided, navigates to {backHref}/{id}/edit */
    onEdit?: () => void;
    /** Delete handler - triggers AlertDialog confirmation */
    onDelete?: () => Promise<void>;
    /** Permission overrides (default: checks {slug}.update and {slug}.delete) */
    canEdit?: boolean;
    canDelete?: boolean;
    /** Loading state for delete action */
    isDeleting?: boolean;
    /** Custom action buttons to render before Edit/Delete */
    customActions?: React.ReactNode;
    /** Optional className */
    className?: string;
}
export declare function EntityDetailHeader({ entityConfig, mode, entity, title, backHref, backLabel, deleteTitle, deleteDescription, badges, showDates, onEdit, onDelete, canEdit: canEditProp, canDelete: canDeleteProp, isDeleting, customActions, className, }: EntityDetailHeaderProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=EntityDetailHeader.d.ts.map