import { TestOptions } from "./test"; export declare enum SnapshotMode { /** * Auto-detect. If CI=1, SnapshotMode.ASSERT otherwise SnapshotMode.DEPLOY. */ AUTO = "auto", /** * Snapshots are disabled. */ NEVER = "never", /** * Deploy and test in the cloud and update the snapshot only if all tests passed. */ DEPLOY = "deploy", /** * Update the snapshots without deploying (dry run). */ UPDATE = "update", /** * Just verify that the snapshots are correct. */ ASSERT = "assert" } export declare function determineSnapshotMode(target: string | undefined, options: TestOptions): SnapshotMode; export declare enum SnapshotResult { SKIPPED = "skipped", NEW = "new", UPDATED = "updated", MISMATCH = "mismatched", VERIFIED = "verified" } export declare function captureSnapshot(entrypoint: string, target: string, options: TestOptions): Promise;