import { NTable } from '../interface';
import { Ref } from 'vue';
type TRecord<T> = {
    record: T;
    indent: number;
    index: number;
};
/**
 * flat tree data on expanded state
 * @param dataRef
 * @param childrenColumnNameRef
 * @param expandedKeysRef
 * @param getRowKey
 * @returns flattened data
 */
export declare function useFlattenRecords<T = unknown>(dataRef: Ref<T[]>, childrenColumnNameRef: Ref<string>, expandedKeysRef: Ref<Set<NTable.TKey>>, getRowKey: Ref<NTable.NRow.TGetRowKey<T>>): Ref<TRecord<T>[], TRecord<T>[]>;
export {};
