import { Ref, ComputedRef } from 'vue';
import { DefaultSortOrderType } from '../../ap-table/hooks/use-sorted-filtered';
import { AgGridColumnType, AgGridProps } from '../interface';
/**
 * 维护/更新表格将要显示的类
 */
export declare const useColumns: <RecordType>(props: AgGridProps<RecordType>) => {
    columns: Ref<AgGridColumnType<RecordType>[], AgGridColumnType<RecordType>[]>;
    shownColumns: Ref<AgGridColumnType<RecordType>[], AgGridColumnType<RecordType>[]>;
    columnKeys: ComputedRef<string[]>;
    getTargetColumnByKey: (key?: string) => AgGridColumnType<RecordType> | undefined;
    defaultSortOrder: ComputedRef<DefaultSortOrderType | undefined>;
    getColKeys: (columns: AgGridColumnType<RecordType>[]) => string[];
    awaitedColumns: Ref<Promise<AgGridColumnType<RecordType>[]> | undefined, Promise<AgGridColumnType<RecordType>[]> | undefined>;
};
