///
import type { Except, JsonValue } from 'type-fest';
import type { CookieOptions } from '../types/interfaces';
import type { IncomingHttpHeaders } from 'http';
export declare class Cookie {
protected data: Map;
private modifiedKeys;
constructor(headers: IncomingHttpHeaders);
set(key: string, value: JsonValue, options?: Except): void;
get(key: string): T;
has(key: string): boolean;
serialize(): string;
private getCookieOptions;
}