import { URI } from "vscode-uri"; /** Event for a snapshot taken in the renderer. */ export interface SnapshotEvent { name?: string; data: string; } /** Output path and content of a snapshot to save. */ export type Snapshot = { path: URI; data: Buffer; }; /** Transforms a snapshot event into the data needed to save the snapshot. */ export declare function parseSnapshotEvent(event: SnapshotEvent, modelUri: URI): Snapshot; /** Takes snapshots of content. */ export interface Snapshotter { /** Saves a snapshot and returns the URI of the output. */ save(event: SnapshotEvent): Promise; }