UNPKG

msw

Version:

Seamless REST/GraphQL API mocking library for browser and Node.js.

14 lines (11 loc) 329 B
import { Cookie } from 'tough-cookie'; declare class CookieStore { #private; constructor(); getCookies(url: string): Array<Cookie>; setCookie(cookieName: string, url: string): Promise<void>; private getCookieStoreIndex; private persist; } declare const cookieStore: CookieStore; export { cookieStore };