import type { Key } from '../typing'; import type { ActionTypeText, RecordKey, RowEditableConfig } from '../useEditableArray'; export interface AddLineOptions { position?: 'top' | 'bottom'; recordKey?: Key; } export declare function useEditableMap(props: RowEditableConfig & { dataSource: RecordType; childrenColumnName?: string; setDataSource: (dataSource: RecordType) => void; }): { editableKeys: import("vue").ComputedRef; setEditableRowKeys: (val: Key[]) => void; isEditable: (recordKey: RecordKey) => boolean; actionRender: (key: RecordKey, config?: ActionTypeText) => import("../typing").VueNode[]; startEditable: (recordKey: RecordKey, recordValue?: any) => boolean; cancelEditable: (recordKey: RecordKey) => boolean; }; export type UseEditableMapType = typeof useEditableMap; export type UseEditableMapUtilType = ReturnType;