export declare const i18n: <G extends "error-title" | "error-desc" | "empty-msg", S extends string>(key: G | (string extends S ? S : never), params?: {
    [key: string]: any;
}) => S extends G ? {
    "error-title": string;
    "error-desc": string;
    "empty-msg": string;
}[G] : string;
