import { type App, type InjectionKey, type MaybeRefOrGetter, type Ref } from 'vue'; /** * Default texts of the components, mostly accessible names. A prop setting the same text on a component wins over * its message. */ export interface PfMessages { /** * Screen reader label of the variant of PfAlert, like "Danger alert:". It receives the capitalized variant, or the * variantLabel of PfAlertActionCloseButton. */ alertVariantLabel: (variant: string) => string; /** Accessible name of the toggle of an expandable PfAlert, from its capitalized variant */ alertToggle: (variant: string) => string; /** Accessible name of the close button of PfAlert, from the variant label and the title */ alertClose: (variantLabel: string, title?: string) => string; breadcrumb: string; /** Accessible name of PfCloseButton */ close: string; dataListToggle: string; drawerClose: string; drawerResize: string; dualListSelectorControls: string; fileUpload: string; fileUploadFilenamePlaceholder: string; fileUploadReadOnlyFilename: string; fileUploadBrowse: string; fileUploadClear: string; fileUploadTooManyFiles: string; fileUploadInvalidType: (accepted: string) => string; fileUploadTooLarge: (maxSize: number) => string; fileUploadTooSmall: (minSize: number) => string; /** Screen reader text of a PfHelperTextItem with a variant */ helperTextStatus: (variant: string) => string; iconProgress: string; jumpLinksToggle: string; /** Accessible name of the close button of PfLabel, from the text of the label */ labelClose: (text?: string) => string; labelGroupClose: string; labelGroupCategory: string; labelGroupShowLess: string; /** Template of the overflow label of PfLabelGroup, with "${remaining}" for the count of hidden labels */ labelGroupMore: string; menuFavorites: string; menuToggle: string; navGlobal: string; navLocal: string; navScrollBack: string; navScrollForward: string; notificationDrawerTitle: string; notificationDrawerUnread: string; notificationDrawerClose: string; pageToggle: string; pagination: string; paginationItemsPerPage: string; paginationPerPageSuffix: string; paginationOf: string; paginationFirstPage: string; paginationPreviousPage: string; paginationNextPage: string; paginationLastPage: string; paginationCurrentPage: string; popoverClose: string; searchInput: string; searchInputReset: string; searchInputSubmit: string; searchInputWords: string; searchInputOpenMenu: string; searchInputPrevious: string; searchInputNext: string; /** Appended to the results count of PfSearchInput */ searchInputResults: string; selectLabel: string; sliderInput: string; sliderThumb: string; spinner: string; spinnerValueText: string; tabAction: string; tabClose: string; tabsScrollBack: string; tabsScrollForward: string; tabsAdd: string; tabsMore: string; textInputGroupMain: string; textareaPatternMismatch: string; toolbarClearFilters: string; toolbarFiltersApplied: (count: number) => string; toolbarShowFilters: string; wizardToggle: string; wizardSteps: string; wizardNext: string; wizardBack: string; wizardCancel: string; wizardStepToggle: (expanded: boolean) => string; wizardBodyContent: (stepName?: string) => string; /** Accessible name of a PfTh of the selection column */ thRowSelect: string; thSelectAll: string; thExpandAll: string; thSortFavorites: string; thInfo: string; /** Accessible name of the selection checkbox or radio of a row, with its index when set */ tdSelectRow: (rowIndex?: number) => string; tdTreeToggle: (expanded: boolean, rowIndex?: number) => string; tdTreeCheckbox: (rowIndex?: number) => string; tdShowDetails: string; tdDetails: string; tdFavorite: (favorited: boolean) => string; tdDragButton: string; trSelected: string; actionsColumnToggle: string; } export declare const defaultMessages: PfMessages; export declare const PfMessagesKey: InjectionKey>>; /** Messages of the components: the ones provided by the closest ancestor, or the defaults */ export declare function usePfMessages(): Readonly>; /** * Overrides some messages for the descendants of the current component, on top of the ones of its ancestors. * A ref or a getter keeps them reactive, to switch language at runtime. */ export declare function providePfMessages(messages: MaybeRefOrGetter>): import("vue").ComputedRef; /** Overrides some messages for the whole app, like the messages option of the plugin */ export declare function providePfAppMessages(app: App, messages: MaybeRefOrGetter>): void; //# sourceMappingURL=messages.d.ts.map