export declare const i18n: <G extends "text" | "heading" | "text-with-head", S extends string>(key: G | (string extends S ? S : never), params?: {
    [key: string]: any;
}) => S extends G ? {
    text: string;
    "text-with-head": string;
    heading: string;
}[G] : string;
