import type { ComputedRef, Ref } from 'vue'; import type { ColumnsType, ColumnType, FixedType, GetRowKey, Key, RenderExpandIcon, TriggerEventHandler } 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: ComputedRef>; 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;