import type { WebhookRuntimeSecurityOptions } from "./types";
export interface EndpointValidationOptions {
    allowPrivateHosts: boolean;
    allowHttpForLocalhost: boolean;
}
export declare const DEFAULT_ENDPOINT_VALIDATION_OPTIONS: EndpointValidationOptions;
export declare function resolveEndpointValidationOptions(security: WebhookRuntimeSecurityOptions | undefined): EndpointValidationOptions;
export declare function validateEndpointUrl(rawUrl: string, options?: EndpointValidationOptions): URL;
