export declare const i18n: <G extends "loading-text", S extends string>(key: G | (string extends S ? S : never), params?: {
    [key: string]: any;
}) => S extends G ? {
    "loading-text": string;
}[G] : string;
export type I18nKey = Parameters<typeof i18n>[0];
