import { CookieGetOptions, Cookies, CookieSetOptions } from './cookies-protocol'; /** * Cookies of the current request and response. Signed cookies (when `web.cookies.keys` are set) carry a * `.sig` cookie made with the first key; any of the keys verifies it, and a cookie signed with an * older key is signed again with the first. */ export declare class CookiesImpl implements Cookies { protected readonly request: any; protected readonly response: any; protected readonly keys?: string[] | undefined; protected readonly secure?: boolean | undefined; constructor(request: any, response: any, keys?: string[] | undefined, secure?: boolean | undefined); get(name: string, opts?: CookieGetOptions): string | undefined; set(name: string, value?: string | null, opts?: CookieSetOptions): this; protected read(header: string, name: string): string | undefined; protected serialize(name: string, value: string, expires: Date | undefined, opts: CookieSetOptions): string; } //# sourceMappingURL=cookies.d.ts.map