import { NamespaceTransProps, TransForLibs, TranslationResource } from "@trackunit/i18n-library-translation"; import defaultTranslations from "./locales/en/translation.json"; /** A type for all available translation keys in this library */ export type TranslationKeys = keyof typeof defaultTranslations; /** The translation namespace for this library */ export declare const namespace = "react.table"; /** * The TranslationResource for this Library. * Holds lazy loaded imports for all languages supported by the library. * * This is used to register the translations for this library before initializing i18next. */ export declare const translations: TranslationResource; /** * Local useTranslation for this specific library */ export declare const useTranslation: () => [TransForLibs<"layout.actions.reset" | "table.actionsheet.selected" | "table.columnActions.clearSorting" | "table.columnActions.hideColumn" | "table.columnActions.moreActions" | "table.columnActions.pinColumn" | "table.columnActions.sortAscending" | "table.columnActions.sortDescending" | "table.columnActions.unPinColumn" | "table.columnFilters.tooltip" | "table.noResults" | "table.pagination.full" | "table.pagination.full.capped" | "table.search.placeholder" | "table.selectAll.allSelected" | "table.selectAll.clearSelection" | "table.selectAll.pageSelected" | "table.selectAll.selectAll" | "table.selection.label" | "table.sorting.ascending" | "table.sorting.descending" | "table.sorting.label" | "table.sorting.toolip">, import("i18next").i18n, boolean] & { t: TransForLibs<"layout.actions.reset" | "table.actionsheet.selected" | "table.columnActions.clearSorting" | "table.columnActions.hideColumn" | "table.columnActions.moreActions" | "table.columnActions.pinColumn" | "table.columnActions.sortAscending" | "table.columnActions.sortDescending" | "table.columnActions.unPinColumn" | "table.columnFilters.tooltip" | "table.noResults" | "table.pagination.full" | "table.pagination.full.capped" | "table.search.placeholder" | "table.selectAll.allSelected" | "table.selectAll.clearSelection" | "table.selectAll.pageSelected" | "table.selectAll.selectAll" | "table.selection.label" | "table.sorting.ascending" | "table.sorting.descending" | "table.sorting.label" | "table.sorting.toolip">; i18n: import("i18next").i18n; ready: boolean; }; /** * Type of the t function for the local useTranslation for this specific library */ export type TranslationFunction = TransForLibs; /** * Trans for this specific library. */ export declare const Trans: (props: NamespaceTransProps) => import("react/jsx-runtime").JSX.Element; /** * Registers the translations for this library */ export declare const setupLibraryTranslations: () => void;