UNPKG

1.4 kBTypeScriptView Raw
1export { MemoryCookieStore, type MemoryCookieStoreIndex } from '../memstore';
2export { pathMatch } from '../pathMatch';
3export { permuteDomain } from '../permuteDomain';
4export { getPublicSuffix, type GetPublicSuffixOptions, } from '../getPublicSuffix';
5export { Store } from '../store';
6export { ParameterError } from '../validators';
7export { version } from '../version';
8export { type Callback, type ErrorCallback, type Nullable } from '../utils';
9export { canonicalDomain } from './canonicalDomain';
10export { PrefixSecurityEnum, type SerializedCookie, type SerializedCookieJar, } from './constants';
11export { Cookie, type CreateCookieOptions, type ParseCookieOptions, } from './cookie';
12export { cookieCompare } from './cookieCompare';
13export { CookieJar, type CreateCookieJarOptions, type GetCookiesOptions, type 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;