import type { HttpOptions, HttpsOptions } from 'agentkeepalive'; export declare class AgentConfig { timeout: number; constructor(timeout?: number); } export type AgentOptions = AgentConfig | HttpOptions | HttpsOptions; export interface ApiConfig { url: string; timeout: { response: number; deadline: number; }; /** * Configuration for the keepalive agent created by hmpps-rest-client. */ agent: AgentOptions; }