export type AllowedHostsConfig = true | string[] | undefined;
/**
 * Vite-style allowed hosts check, adapted to raw Host headers.
 *
 * Semantics:
 * - `allowedHosts === true` => allow any host.
 * - `allowedHosts === []` or `undefined` => allow localhost, *.localhost, and all IPs.
 * - `allowedHosts === ['.example.com', 'myhost']` => allow those *in addition* to defaults.
 */
export declare function isHostAllowed(hostHeader: string | undefined, allowedHosts: AllowedHostsConfig): boolean;
export declare function mergeAllowedHosts(values: Array<AllowedHostsConfig>): AllowedHostsConfig;
export declare function parseAllowedHostsEnv(raw: string | undefined): AllowedHostsConfig;
//# sourceMappingURL=allowed-hosts.d.ts.map