import { FormInstance } from 'antd'; import { Meta } from '../types'; export interface OperationContext { meta: Meta; selectedPath: string | null; onChange?: (payload: { type: string; data: any; }) => void; form?: FormInstance; setSelectedPath?: (path: string | null) => void; }