/** * Resolve a CORS `allowedOrigin` option into the list form the Enkaku * `ServerTransport` expects. * * Default-deny: an unset option resolves to `[]`, which denies cross-origin * browser requests (a request carrying an `Origin` header that is not * same-origin is rejected) while still allowing same-origin and non-browser * callers. Opening a surface to cross-origin traffic is therefore always an * explicit choice — pass `['*']` to reflect any caller's origin, or a specific * list to allow only those. * * A comma-separated string is split and trimmed so a single env var can carry * multiple origins. */ export declare function resolveAllowedOrigin(allowedOrigin?: string | Array): Array;