export declare const i18n: <G extends "cancel" | "remove" | "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;
    delete: string;
    edit: string;
    preview: string;
    remove: string;
    save: string;
    toolbar_action_disabled: string;
}[G] : string;
