import { CookieAttributes, CookieAttributesConfig, CookieCodecConfig, CookieDecoding, CookieEncoding } from '../types/index'; export declare const DEFAULT_CODEC: CookieCodecConfig; export declare const DEFAULT_ATTRIBUTES: CookieAttributesConfig; export declare function setCookie(name: string, value: T): string; export declare function setCookie(name: string, value: T, attributes: CookieAttributes): string; export declare function setCookie(name: string, value: T, attributes: CookieAttributes | undefined, { encodeValue, encodeName }: CookieEncoding): string; export declare function getCookie(name: string): string | undefined; export declare function getCookie(name: string, { decodeValue, decodeName }: CookieDecoding): T | undefined; export declare function getCookies(): { [property: string]: string; }; export declare function getCookies({ decodeValue, decodeName }: CookieDecoding): { [property: string]: T; }; export declare function removeCookie(name: string, attributes?: CookieAttributes): void;