import { AgGridExpose, AgGridProps } from '../../ag-grid';
export interface UsePageListAgGrid extends AgGridProps {
    /** 是否显示默认的行选择配置
     * @default true
     */
    isShowRowSelection?: boolean;
    /** 转化AgGrid查询参数 */
    transformSearchFormValues?: (values: any) => any;
    /** AgGrid数据接口 */
    api?(record: any): Promise<any>;
    /** 发起请求的时候情况行选中
     * @default true
     */
    clearSelectionOnRequest?: boolean;
    /** 用于覆盖默认的class */
    class?: string;
    /**
     * 表格刷新相关
     */
    tableRefresh?: boolean | (() => boolean);
    /** 是否需要在deactivated的时候清空数据
     * @default true
     */
    clearDataOnDeactivated?: boolean;
}
/**
 * 集成了列表页面的AgGrid的默认配置
 */
export declare function usePageListAgGrid(props?: UsePageListAgGrid): [AgGridProps, {
    reload: (resetCurrent?: boolean) => void;
    reset: () => void;
    getSearchFormValues: (transform?: boolean) => any;
    getAgGridInstance: () => AgGridExpose | undefined;
    getSearchFormValuesAndSorted: (transform?: boolean) => any;
    clearSelection: () => void;
}];
