/** * Read the `set-cookie` entries from a FetchResponse-style plain headers * object. * * `FetchResponse.headers` is `Partial` — a plain object keyed by the * user-provided generic `RH`. Because `RH` rarely declares `'set-cookie'`, * callers would otherwise need a cast. Taking `unknown` and runtime-narrowing * lets consumers pass `response.headers` directly without assertions. * * The executor preserves multi-value `set-cookie` headers as a `string[]` * (see `executor.ts`). This helper normalizes every shape the field may * legally take: * * - Missing / undefined / null / non-object → [] * - string[] → filtered to string values only * - single string → wrapped in [str] * - anything else → [] * * The lookup is case-tolerant: both `set-cookie` (lowercase, the preferred * form) and `Set-Cookie` are checked. */ export declare function getSetCookieHeaders(headers: unknown): string[];