export interface TranslateOptions {
    from?: string;
    to: string;
    text: string;
}
export interface TranslateError extends Error {
    code?: string;
    response?: any;
}
export declare function translate({ from, to, text }: TranslateOptions): Promise<string>;
