import type { AxiosInstance } from 'axios'; import type { Ref } from 'vue'; export interface ApiResponse { code: number; message: string; data: T; } export interface useAxiosProps { raw?: boolean; } declare module 'axios' { interface InternalAxiosRequestConfig { loading?: Ref; } interface AxiosResponse { code?: number; message?: string; data: T; [key: string]: any; } } export declare function useAxios(props?: useAxiosProps): AxiosInstance;