import { Path } from '../parent/pathTypes'; import { MobxKeystoneError } from '../utils'; export interface SnapshotProcessingErrorData { message: string; path?: Path; actualSnapshot?: any; modelTrail?: readonly string[]; } /** * Thrown when a structural issue is encountered while processing a snapshot (extends `MobxKeystoneError`). * * Use `instanceof SnapshotProcessingError` to distinguish snapshot processing errors * from other `MobxKeystoneError` instances. */ export declare class SnapshotProcessingError extends MobxKeystoneError { readonly path: Path; readonly actualSnapshot?: any; readonly modelTrail?: readonly string[]; constructor(data: SnapshotProcessingErrorData); }