import { CookieManager } from '../types/cookieHandling/CookieManager.js'; import { CookieValueTypes } from '../types/cookieHandling/CookieValueTypes.js'; import { ServerOptions } from '../types/cookieHandling/ServerOptions.js'; import { TmpCookiesObj } from '../types/cookieHandling/TmpCookiesObj.js'; import 'cookie'; import 'http'; declare class CookieHandler implements CookieManager { isClientSide(): boolean; stringify(value?: string): string; decode(str: string): string; processValue(value: string): CookieValueTypes; getCookies(options?: ServerOptions): Promise; hasCookie(key: string, options?: ServerOptions): Promise; setCookie(key: string, data: any, options?: ServerOptions): Promise; getCookie(key: string, options?: ServerOptions): Promise; deleteCookie(key: string, options?: ServerOptions): Promise; } export { CookieHandler };