@metamask/snaps-simulation
Version:
A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment
13 lines • 589 B
text/typescript
import type { RunSagaFunction } from "../../store/index.mjs";
/**
* Get a method that can be used to track an event.
*
* @param runSaga - A function to run a saga outside the usual Redux flow.
* @returns A method that can be used to track an event.
*/
export declare function getTrackEventImplementation(runSaga: RunSagaFunction): (event: {
event: string;
properties?: Record<string, import("@metamask/snaps-sdk").Json> | undefined;
sensitiveProperties?: Record<string, import("@metamask/snaps-sdk").Json> | undefined;
}) => any;
//# sourceMappingURL=track-event.d.mts.map