/** * RFC 6265 §5.1.1 — Cookie-date parsing algorithm. * * This is NOT Date.parse(). The RFC defines a lenient tokenizing algorithm * that handles the wide variety of date formats found in real-world cookies. * Delimiters are: TAB, space-/, ;-@, [-`, {-~ */ /** * Parse a cookie date string per RFC 6265 §5.1.1. * * @returns ms epoch timestamp, or null if the date is invalid. * * @example * parseDate('Thu, 01 Jan 2099 00:00:00 GMT') // → Date.UTC(2099,0,1,0,0,0) * parseDate('garbage') // → null */ export declare function parseDate(str: string): number | null;