import { Dispatcher } from 'undici';
import { OutboundUrlGuard } from './outbound-url.guard';
export declare const OUTBOUND_REQUEST_TIMEOUT_MS = 10000;
export type OutboundTlsOptions = {
    caCert?: string;
    rejectUnauthorized?: boolean;
};
export type AgentLease = {
    dispatcher: Dispatcher;
    release: () => Promise<void>;
};
export type IOutboundAgentFactory = {
    lease(url: string, tls?: OutboundTlsOptions): Promise<AgentLease>;
};
export declare class OutboundAgentFactory implements IOutboundAgentFactory {
    private readonly urlGuard;
    constructor(urlGuard: OutboundUrlGuard);
    lease(url: string, tls?: OutboundTlsOptions): Promise<AgentLease>;
}
