import { DeleteProps, GetProps, PatchProps, PostProps, PutProps } from './types';
export declare class ApiService {
    private client;
    constructor(baseURL?: string);
    private setupInterceptors;
    get<T = unknown>({ url, config }: GetProps): Promise<T>;
    post<R = unknown, B = unknown>({ url, body, config }: PostProps<B>): Promise<R>;
    put<R = unknown, B = unknown>({ url, body, config }: PutProps<B>): Promise<R>;
    patch<R = unknown, B = unknown>({ url, body, config }: PatchProps<B>): Promise<R>;
    delete<R = unknown>({ url, config }: DeleteProps): Promise<R>;
}
//# sourceMappingURL=api.d.ts.map