export declare const i18n: <G extends "cancel" | "close" | "remove" | "actions" | "delete" | "edit" | "preview" | "save" | "toolbar_action_disabled", S extends string>(key: G | (string extends S ? S : never), params?: {
    [key: string]: any;
}) => S extends G ? {
    cancel: string;
    close: string;
    delete: string;
    edit: string;
    preview: string;
    remove: string;
    save: string;
    actions: string;
    toolbar_action_disabled: string;
}[G] : string;
