import { IConfig } from '@biorate/config'; import { Axios, AxiosError, AxiosResponse, IAxiosFetchOptions } from '@biorate/axios'; import { Counter, Histogram } from '@biorate/prometheus'; import { Span } from '@biorate/opentelemetry'; export * from '@biorate/axios'; export declare abstract class AxiosPrometheus extends Axios { #private; protected static mockFields: string[]; protected static mockFileName(name: string): string; protected static checkMockDir(directory: string): string | null; protected static mockFilePath(filename?: string): string; protected static getMockData(instance: Axios, filename: string): any; protected static getMock(instance: Axios, options?: IAxiosFetchOptions): undefined | AxiosResponse; protected static setMock(instance: Axios, result: AxiosResponse, options?: IAxiosFetchOptions): void; protected get histogram(): Histogram; protected get config(): IConfig; protected counter: Counter; abstract baseURL: string; abstract url: string; abstract method: string; protected getStartTime(): [number, number]; protected log(statusCode: number, startTime: [number, number]): void; protected stringify(data: unknown): string; protected needTrace(url: string, span?: Span): boolean; protected fullUrl(params?: IAxiosFetchOptions): string; protected static aspectAliases: Record; protected static normalizeAspect(name: string): string; protected needAttribute(url: string, name: string): boolean; protected before(params?: IAxiosFetchOptions, meta?: Record): Promise; protected after(result: AxiosResponse, startTime: [number, number], params: IAxiosFetchOptions, meta?: Record): Promise; protected catch(e: Error | AxiosError, startTime: [number, number], params: IAxiosFetchOptions, meta?: Record): Promise; protected finally(startTime: [number, number], params?: IAxiosFetchOptions, meta?: Record): Promise; }