import { CookieSerializeOptions } from 'cookie'; export declare type CookieValue = { value: string; } & CookieSerializeOptions; export declare type Cookie = { [key: string]: CookieValue; }; export declare class ServerCookieManager { private readonly cookies; constructor(cookies?: Cookie | string); getCookie(name: string): string | undefined; getCookies(): { [x: string]: CookieValue; }; setCookie(name: string, value: string | CookieValue): void; removeCookie(name: string): void; clear(): void; }