export interface Attributes { maxage?: number; expires?: Date; samesite?: 'Lax' | 'Strict' | 'None'; secure?: boolean; httponly?: boolean; domain?: string; path?: string; } export function parse(cookie: string): Attributes & Record; export function stringify(name: string, value: string, options: Omit & { expires?: Date | number | string }): string;