export interface ExpectStatic { (actual: any): Assertion; getState(): MatcherState; addSnapshotSerializer(plugin: PrettyFormatPlugin): void; } interface Assertion { toMatchSnapshot(message: string): void; } interface MatcherState { currentTestName?: string; snapshotState: SnapshotState; } interface SnapshotState { _counters: Map; _snapshotData: SnapshotData; _updateSnapshot: SnapshotUpdateState; } export type SnapshotUpdateState = 'all' | 'new' | 'none'; type SnapshotData = Record; interface PrettyFormatPlugin { test: (value: any) => boolean; print: (value: unknown) => string; } export declare abstract class Runner { init(): Promise; abstract get expect(): ExpectStatic; abstract getSnapshotFullName(testName: string, snapshotName: string): string; } export {};