import type { Ref } from 'vue';
import type { GetRowKey } from '../simple-table';
declare function useExpand({ expandRowKeys, defaultExpandAll, getRowKey }: {
    defaultExpandAll: Ref<boolean>;
    expandRowKeys: Ref<string[]>;
    getRowKey: GetRowKey;
}): {
    expandedKeyExisted: (row: unknown, slotName: string) => boolean;
    toggleExpandRow: (row: unknown, slotName: string) => void;
    toggleExpand: (key: string, slotName: string) => void;
};
export { useExpand };
