export declare function useLatestRequest<P = any, R = any>(execFn: (payload: P) => Promise<R>): {
    run: (payload: P) => Promise<R | null>;
    invalidate: () => void;
    loading: import('vue').Ref<boolean, boolean>;
    error: import('vue').Ref<any, any>;
};
