import type { HostRule } from '../../types';
import type { GotOptions, InternalHttpOptions } from './types';
export type HostRulesGotOptions = Pick<GotOptions & InternalHttpOptions, 'hostType' | 'url' | 'noAuth' | 'headers' | 'token' | 'username' | 'password' | 'context' | 'enabled' | 'abortOnError' | 'abortIgnoreStatusCodes' | 'timeout' | 'lookup' | 'agent' | 'http2' | 'https' | 'readOnly'>;
export declare function findMatchingRule<GotOptions extends HostRulesGotOptions>(url: string, options: GotOptions): HostRule;
export declare function applyHostRule<GotOptions extends HostRulesGotOptions>(url: string, options: GotOptions, hostRule: HostRule): GotOptions;
