export interface BatchSaveResultRow {
  clientRowId: string;
  id: string;
}

export interface BatchSaveResult {
  batchOpId: string;
  count: number;
  rows: BatchSaveResultRow[];
}

export interface OpenBatchFormConfig {
  ids?: string[];
  menuId?: number | string;
  mode: 'create' | 'edit';
  modelId: string;
  onCancel?: () => void;
  onSuccess?: (result: BatchSaveResult) => void;
  params?: Record<string, any>;
  title?: string;
}
