import * as React from 'react'; import { type LucideIcon } from 'lucide-react'; export interface PageHeaderOverflowAction { key: string; label: string; icon?: LucideIcon; onSelect: () => void; disabled?: boolean; /** Paints the item with the destructive token and separates it. */ destructive?: boolean; } export interface PageHeaderProps extends Omit, 'title'> { /** Row above the title, typically ``. */ leading?: React.ReactNode; icon?: LucideIcon; title: React.ReactNode; /** * `text` (default) wraps long titles; `identifier` (folio, SKU, email) stays * on one line, truncates with an ellipsis and exposes the full value in * `title` (when `title` is a string). Never breaks on hyphens. */ titleKind?: 'text' | 'identifier'; /** Short line under the title (customer link, model name…). */ subtitle?: React.ReactNode; description?: React.ReactNode; /** Chips next to the title (status, «Datos demostrativos», counters). */ badges?: React.ReactNode; /** * Actions. Prefer ``: it keeps one primary and * collapses the rest into «⋯» by measured width. Below a 448px-wide * container (`@md`) the actions get their own full-width row under the title. */ actions?: React.ReactNode; /** Legacy «⋯» menu for secondary actions; hidden when empty. Prefer `ActionBar`. */ overflowActions?: PageHeaderOverflowAction[]; /** Accessible name of the «⋯» button. Default `page_header.more` («Más acciones»). */ overflowLabel?: string; /** Heading level of the title. Default 1. */ level?: 1 | 2; } /** * Page title block. Lays out by its own width (container query), not the * viewport: under 448px it stacks leading → title + badges → actions; wider, * title on the left (shrinks, `min-w-0`) and actions on the right. Fluid * title size `clamp(1.25rem, 1rem + 2vw, 1.5rem)`. Theme tokens only. */ export declare function PageHeader({ leading, icon: Icon, title, titleKind, subtitle, description, badges, actions, overflowActions, overflowLabel, level, className, ...props }: PageHeaderProps): React.JSX.Element; //# sourceMappingURL=page-header.d.ts.map