import type { AxiosRequestConfig } from 'axios';
export type ApiConfig = {
    baseURL: string;
    withCredentials?: boolean;
    getHeaders?: () => AxiosRequestConfig['headers'];
};
export type GetProps = {
    url: string;
    config?: AxiosRequestConfig;
};
export type PostProps<B> = {
    url: string;
    body?: B;
    config?: AxiosRequestConfig<B>;
};
export type PutProps<B> = {
    url: string;
    body?: B;
    config?: AxiosRequestConfig<B>;
};
export type PatchProps<B> = {
    url: string;
    body?: B;
    config?: AxiosRequestConfig<B>;
};
export type DeleteProps = {
    url: string;
    config?: AxiosRequestConfig;
};
//# sourceMappingURL=types.d.ts.map