import type { Cookie } from './types.ts'; /** * RFC 6265 §5.2 — Parse a Set-Cookie header value into a Cookie. * * @param header - The raw Set-Cookie header value (not the "Set-Cookie:" prefix). * @param requestUrl - The URL of the request that received this header. * Used for domain validation and default path/domain. * @returns Parsed Cookie, or null if the header should be ignored. * * @example * parseSetCookieHeader('session=abc; Path=/; Secure', new URL('https://example.com/')) */ export declare function parseSetCookieHeader(header: string, requestUrl: URL): Cookie | null;