import * as React from "react";
import { FunctionComponent } from "react";
import { ComponentDependencies } from "./PolygloatViewer";
import { TranslationData } from "@polygloat/core/lib/DTOs/TranslationData";
declare type DialogProps = {
    input: string;
    open: boolean;
    onClose: () => void;
    dependencies: ComponentDependencies;
};
export declare type DialogContextType = {
    loading: boolean;
    saving: boolean;
    error: string;
    success: boolean;
    availableLanguages: Set<string>;
    selectedLanguages: Set<string>;
    onSelectedLanguagesChange: (val: Set<string>) => void;
    editDisabled: boolean;
    onTranslationInputChange: (abbr: any) => (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
    translations: TranslationData;
    onSave: () => void;
} & DialogProps;
export declare const TranslationDialogContext: React.Context<DialogContextType>;
export declare const TranslationDialog: FunctionComponent<DialogProps>;
export {};
