export interface StateEmptyLabels { title: string; description: string; } export interface StateErrorLabels { title: string; description: string; retryLabel: string; } export interface StateLoadingLabels { title: string; description: string; } export interface StateUnauthorizedLabels { title: string; description: string; } export interface ErrorBoundaryLabels { title: string; description: string; retryLabel: string; } export interface CommandPaletteLabels { placeholder: string; emptyLabel: string; title: string; description: string; } export interface TreeViewLabels { empty: string; expand: (node: { label: string; }) => string; collapse: (node: { label: string; }) => string; } export interface DataTablePaginationLabels { selectedRows: (selected: number, total: number) => string; rowsPerPage: string; currentPage: (current: number, total: number) => string; goToFirstPage: string; goToPreviousPage: string; goToNextPage: string; goToLastPage: string; } export interface KitLabels { stateEmpty: StateEmptyLabels; stateError: StateErrorLabels; stateLoading: StateLoadingLabels; stateUnauthorized: StateUnauthorizedLabels; errorBoundary: ErrorBoundaryLabels; commandPalette: CommandPaletteLabels; treeView: TreeViewLabels; dataTablePagination: DataTablePaginationLabels; } export type KitLabelOverrides = { [Section in keyof KitLabels]?: Partial; }; /** * The exact English defaults each registry block ships today. Kept as one * literal object — not derived from the block source — because a consumer * reads this as the contract, and the render tests hold the two in sync from * the other direction. */ export declare const DEFAULT_KIT_LABELS: KitLabels; /** * Merges a host's overrides over `DEFAULT_KIT_LABELS`, one section at a time * so overriding `stateError.retryLabel` never drops `stateError.title`, and a * section a host never mentions is untouched. */ export declare function mergeKitLabels(overrides?: KitLabelOverrides): KitLabels; //# sourceMappingURL=labels.d.ts.map