UNPKG

1.33 kBTypeScriptView Raw
1export { MemoryCookieStore, MemoryCookieStoreIndex } from '../memstore';
2export { pathMatch } from '../pathMatch';
3export { permuteDomain } from '../permuteDomain';
4export { getPublicSuffix, GetPublicSuffixOptions } from '../getPublicSuffix';
5export { Store } from '../store';
6export { ParameterError } from '../validators';
7export { version } from '../version';
8export { Callback, ErrorCallback, Nullable } from '../utils';
9export { canonicalDomain } from './canonicalDomain';
10export { PrefixSecurityEnum, SerializedCookie, SerializedCookieJar, } from './constants';
11export { Cookie, CreateCookieOptions, ParseCookieOptions } from './cookie';
12export { cookieCompare } from './cookieCompare';
13export { CookieJar, CreateCookieJarOptions, GetCookiesOptions, SetCookieOptions, } from './cookieJar';
14export { defaultPath } from './defaultPath';
15export { domainMatch } from './domainMatch';
16export { formatDate } from './formatDate';
17export { parseDate } from './parseDate';
18export { permutePath } from './permutePath';
19import { Cookie, ParseCookieOptions } from './cookie';
20/**
21 * {@inheritDoc Cookie.parse}
22 * @public
23 */
24export declare function parse(str: string, options?: ParseCookieOptions): Cookie | undefined;
25/**
26 * {@inheritDoc Cookie.fromJSON}
27 * @public
28 */
29export declare function fromJSON(str: unknown): Cookie | undefined;