export type ProxyConfigOptions = { secret: string | Record; key: string; name: string; /** * A list of mapping rules. Each rule defines how to map the request for a given URL/method, * along with any headers that should be included. */ mapping_rules?: Array<{ url: string; url_type?: 'regex' | 'none'; http_method: 'get' | 'put' | 'post' | 'delete' | 'options' | 'head' | 'patch'; resource: string; headers?: Record; action?: string; priority?: number; }>; /** * The authentication mechanism. Defaults to Bearer if not provided. */ auth_mechanism: 'Bearer' | 'Basic' | 'Headers'; }; /** * Validates the proxy config options. * Collects all errors and throws a combined error if any validations fail. */ export declare function validateProxyConfig(options: ProxyConfigOptions): boolean;