export declare function useQuery<P extends unknown[], R>(fn: (...args: P) => Promise<R>): {
    isLoading: boolean;
    result: import("vue").UnwrapRef<R> | undefined;
    error: unknown;
    run: (...args: P) => Promise<void>;
    debounce: (cb: () => P, dt?: number) => () => void;
};
