import { type EncodedReference } from '@dxos/echo-protocol'; /** * Archive of echo objects. * * ## Encoding and file format * * The data is serialized to JSON. * Preferred file extensions are `.dx.json`. * The file might be compressed with gzip (`.dx.json.gz`). */ export type SerializedSpace = { /** * Format version number. * * Current version: 1. */ version: number; /** * Human-readable date of creation. */ timestamp?: string; /** * Space key. */ spaceKey?: string; /** * List of objects included in the archive. */ objects: SerializedObject[]; }; export type SerializedObject = { /** * Format version number. * * Current version: 1. */ '@version': number; /** * Human-readable date of creation. */ '@timestamp'?: string; /** * Unique object identifier. */ '@id': string; /** * Reference to a type. */ '@type'?: EncodedReference | string; /** * Flag to indicate soft-deleted objects. */ '@deleted'?: boolean; /** * @deprecated * * Model name for the objects backed by a legacy ECHO model. */ '@model'?: string; } & Record; /** * Updates the serialized object data to the latest version. */ export declare const normalizeSerializedObjectData: (data: SerializedObject) => Promise; //# sourceMappingURL=serialized-space.d.ts.map