/** * Implementation based on https://github.com/jshttp/cookie * License: MIT * Copyright (c) 2012-2014 Roman Shtylman * Copyright (c) 2015 Douglas Christopher Wilson */ /** * This function parses a cookie string and returns an object * @param str A string containing cookies * @returns Object with the cookie name as a key and their value as a value * @example * parse("foo=oof;bar=rab"); // Returns {foo: "oof", bar: "rab"} */ export declare function parse(str: string): Record;