# snapshotImport

`import { snapshotImport } from "destack:runtime";`

Import one serialized snapshot payload.

```ds title="snapshotImport"
export declare function snapshotImport(world: WorldHandle, payload: &'a readonly [uint8]): Result<SnapshotId, HostError>
```

[language/library/src/runtime/snapshot.ds:105:108](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/snapshot.ds#L105-L108)
