import sinon from 'sinon'; import React from 'react'; type KarmaArgs = { config: { args: any[]; }; }; declare global { interface Window { __karma__?: KarmaArgs; } } declare const viewport: () => any; declare const mount: (element: React.ComponentElement, React.Component>, options?: { props?: Record | undefined; strictMode?: boolean; }) => Promise; declare const unmount: () => boolean; declare const stub: (obj?: T, method?: K, fn?: (...args: unknown[]) => unknown) => T extends Record ? K extends string ? sinon.SinonStub : sinon.SinonStubbedInstance : sinon.SinonStub; declare const spy: (obj?: T, method?: K) => sinon.SinonSpy; declare const match: sinon.SinonMatch; export { viewport, mount, unmount, stub, spy, match }; //# sourceMappingURL=sandbox.d.ts.map