import * as React from 'react';
import { Obj, IRemote, IPage, IClearDataType } from './type';
export declare function useRemote(state: {
    pageRenderInfo: IPage;
    setLoading: (loading: boolean) => void;
    remote?: IRemote;
    innerParams: React.MutableRefObject<Obj>;
    innerInfo?: Obj;
}, callback?: (res: Obj, clearDataType: IClearDataType) => void): (params: Record<string, any> | "refresh" | "refreshExceptPaging" | "load") => Promise<any>;
