import { CellClassFunc, ColDef, ColGroupDef } from 'ag-grid-community';
import { Ref, ComputedRef } from 'vue';
import { AgGridColumnType, AgGridProps, AgGridSlots } from '../interface';
/**
 * 维护AgGrid列配置
 * @param shownColumns
 * @param props
 * @returns
 */
export declare const useColumnsDef: <RecordType>(columns: Ref<AgGridColumnType<RecordType>[]>, props: AgGridProps<RecordType>, customCellClass: (callback: CellClassFunc) => CellClassFunc, headerCell?: AgGridSlots<RecordType>["headerCell"]) => {
    columnDefs: ComputedRef<(ColDef<any, any> | ColGroupDef<any>)[]>;
    defaultColDef: ComputedRef<ColDef<any, any>>;
    gridWrapperRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
};
