import type { ComputedRef, Ref } from 'vue'; import type { ColumnsType, ColumnType, FixedType, Key, GetRowKey, TriggerEventHandler, RenderExpandIcon } from '../interface'; /** * Parse `columns` & `children` into `columns`. */ declare function useColumns({ prefixCls, columns: baseColumns, expandable, expandedKeys, getRowKey, onTriggerExpand, expandIcon, rowExpandable, expandIconColumnIndex, direction, expandRowByClick, expandColumnWidth, expandFixed, }: { prefixCls?: Ref; columns?: Ref>; expandable: Ref; expandedKeys: Ref>; getRowKey: Ref>; onTriggerExpand: TriggerEventHandler; expandIcon?: Ref>; rowExpandable?: Ref<(record: RecordType) => boolean>; expandIconColumnIndex?: Ref; direction?: Ref<'ltr' | 'rtl'>; expandRowByClick?: Ref; expandColumnWidth?: Ref; expandFixed?: Ref; }, transformColumns: Ref<(columns: ColumnsType) => ColumnsType>): [ComputedRef>, ComputedRef[]>]; export default useColumns;