import type { Ref } from 'vue';
export type ProRequestData<T, U = Record<string, any>> = (params: U, props: any) => Promise<T>;
export declare function useFetchData<T, U = Record<string, any>>(props: {
params?: U;
request?: ProRequestData<T, U>;
}): [Ref<T | undefined>];