import { AxiosRequestConfig, AxiosResponse } from 'axios';
import { TokenManager } from '../token-manager/token-manager';
import { PrimariaBroker } from '../broker/primaria-broker';
export declare class MissingMpidHeaderError extends Error {
    constructor(message: string);
}
export declare class InvalidMpidHeaderError extends Error {
    constructor(message: string);
}
export declare const createAxiosInstance: (tokenManager: TokenManager, broker: PrimariaBroker, validateMpid?: boolean) => import('axios').AxiosInstance;
export interface HttpClient {
    request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
}
export declare const createHttpClient: (tokenManager: TokenManager, broker: PrimariaBroker) => HttpClient;
