import { type FormItemProps, type FormListOperation } from 'antd'; import React from 'react'; import type { FormCollapseListColumn } from '.'; import { ListFieldValue } from './utils'; export interface FormCollapseListOperation extends FormListOperation { update: () => void; } export declare const useFormCollapseListHooks: (name: FormItemProps['name'], childrenColumnName: string, columns: FormCollapseListColumn[]) => { values: ListFieldValue[]; updateValues: () => void; expandedRowKeys: readonly React.Key[]; setExpandedRowKeys: React.Dispatch>; fieldValuesToDataSource: (fields: ListFieldValue[]) => { dataSource: ListFieldValue[]; allExpandRowKeys: React.Key[]; }; getFieldPath: (fieldKeyPath: number[], fieldName?: string) => any; getFormListOperation: (operation: FormListOperation, record: ListFieldValue) => FormCollapseListOperation; firstColumnFormItemName: any; };