# restoreImage

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

Restore one world from one image.

```ds title="restoreImage"
export declare function restoreImage(world: WorldHandle, imageId: ImageId): Result<void, HostError>
```

[language/library/src/runtime/snapshot.ds:119](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/snapshot.ds#L119)
