import { Ref } from 'vue'; import type { BaseType, EmitFn2 } from '../../_utils/types'; import type { TableData, TableExpandable } from '../interface'; export declare const useExpand: ({ expandedKeys, defaultExpandedKeys, defaultExpandAllRows, expandable, allRowKeys, emit, }: { expandedKeys: Ref; defaultExpandedKeys: Ref; defaultExpandAllRows: Ref; expandable: Ref; allRowKeys: Ref; emit: EmitFn2<{ "update:expandedKeys": (rowKeys: BaseType[]) => true; "expand": (rowKey: BaseType, record: TableData) => true; "expandedChange": (rowKeys: BaseType[]) => true; }>; }) => { expandedRowKeys: import("vue").ComputedRef; handleExpand: (rowKey: BaseType, record: TableData) => void; expand: (rowKey: BaseType | BaseType[], expanded?: boolean) => void; expandAll: (expanded?: boolean) => void; };