import React from 'react'; import { IDiff } from '../../../services/diff/types'; import { InteractiveDiffMachineType } from '../../machine'; import { DiffBetweenSpecs } from '../utils/show-diff-between-specs'; import { JsonSchemaPatch } from '../../../services/diff/differs/json-schema-json-diff/plugins/plugin-types'; export declare type DiffAgentContextInput = Omit; declare type DiffAgentContext = { skipQuestion: () => void; skipInteraction: () => void; bypassIssue: () => void; answer: (id: string, answer: any) => void; diffMachine: InteractiveDiffMachineType; computePossiblePatches: (diff: IDiff) => Promise; }; export declare const DiffAgentContext: React.Context; export declare function DiffAgentContextProvider(props: { context: DiffAgentContextInput; children: React.ReactElement; }): JSX.Element; export declare function useDiffAgentActions(): DiffAgentContext; export declare type PatchPreview = { effect: string; preview: DiffBetweenSpecs; jsonSchemaPatch: JsonSchemaPatch; }; export {}; //# sourceMappingURL=diff-agent-context.d.ts.map