UNPKG

@embrace-io/web-sdk

Version:
11 lines 589 B
import type { SinonStub } from 'sinon'; export declare const getOptions: () => Parameters<typeof window.fetch>[1]; export declare const install: () => void; export declare const restore: () => void; export declare const getMethod: () => string; export declare const getBody: () => BodyInit | null; export declare const getUrl: () => string | URL; export declare const getRequestHeaders: () => HeadersInit; export declare const respondWith: (data: BodyInit, options?: ResponseInit) => SinonStub<any[], any>; export declare const wasCalled: () => boolean; //# sourceMappingURL=index.d.ts.map