import React from 'react';
import { AttributeError } from '@reltio/mdm-sdk';
import { LineData, LineDataValue } from '../../types';
export type ChangeRequestEditorContextType = {
    updateChange: (lineIds: string[], data: LineDataValue) => void;
    getLineData: (lineId: string) => LineData | undefined;
    getLinesByChangeId: (changeId: string) => Array<[string, LineData]>;
    rejectChange: (lineIds: string[]) => void;
    revertChangeUpdateOrReject: (lineIds: string[]) => void;
    getIsParentLineRejected: (lineId: string) => boolean;
    getIsLineRejected: (lineId: string) => boolean;
    getIsLineUpdated: (lineId: string) => boolean;
    getAllChanges: () => {
        lineId: string;
        data: LineData;
    }[];
    setErrors: (errors: {
        error: AttributeError;
        lineIds: string[];
    }[]) => void;
    getErrorByLineId: (lineId: string) => {
        error: AttributeError;
        lineIds: string[];
    } | undefined;
    getErrors: () => {
        error: AttributeError;
        lineIds: string[];
    }[];
};
export declare const ChangeRequestEditorContext: import("@fluentui/react-context-selector").Context<ChangeRequestEditorContextType>;
export declare const ChangeRequestEditorProvider: ({ children }: {
    children: React.ReactNode;
}) => React.JSX.Element;
