/** * This class reads the cookie value supplied by the browser and parses * it into its constituent pieces. The only thing we really read from it is * the current user's session id. */ import CookieAttribute from './../enum/cookie-attribute'; declare class CookieParser { private header_value; private parsed; private cookie_values; constructor(header_value: string); getSessionId(): string | undefined; getValueForCookieAttribute(cookie_attribute: CookieAttribute): string | boolean | undefined; private parseIfNecessary; private parse; private parseCookiePart; private isSupportedCookieAttribute; private setValueForCookieAttribute; private getCookieValues; private getHeaderValue; } export default CookieParser;