import React from "react";
import { RequestExecutionExceptionType } from "../definitions/RequestExecutionException";
import ResultInterface from "../components/Table/definitions/ResultInterface";
import TranslateVariablesInterface from "../definitions/TranslateVariablesInterface";
type BatchResultStatusType = "success" | "warning" | "skipped" | "error";
type BatchResultMessageStatusType = "warning" | "error";
interface BatchResultMessageInterface {
    message: string;
    severity: BatchResultMessageStatusType;
    parameters?: TranslateVariablesInterface;
}
interface BatchResultInterface {
    id: number;
    representation: string;
    status: BatchResultStatusType;
    messages?: BatchResultMessageInterface[];
}
interface DialogBatchContextProps {
    results: ResultInterface[];
    processing: boolean;
    setProcessing: React.Dispatch<React.SetStateAction<boolean>>;
    finished: boolean;
    setFinished: React.Dispatch<React.SetStateAction<boolean>>;
    batchResults: BatchResultInterface[];
    setBatchResults: React.Dispatch<React.SetStateAction<BatchResultInterface[]>>;
}
interface DialogBatchProviderProps {
    children: React.ReactNode;
    results: ResultInterface[];
}
declare const DialogBatchContext: React.Context<DialogBatchContextProps>;
declare const DialogBatchProvider: ({ children, results }: DialogBatchProviderProps) => React.JSX.Element;
declare const useDialogBatch: () => DialogBatchContextProps;
declare const mapRequestExecutionException: (id: number, representation: string, requestExecutionException: RequestExecutionExceptionType) => BatchResultInterface;
export { BatchResultStatusType, BatchResultMessageStatusType, BatchResultInterface, BatchResultMessageInterface, DialogBatchContext, DialogBatchContextProps, DialogBatchProvider, DialogBatchProviderProps, useDialogBatch, mapRequestExecutionException, };
