[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Shared](https://evolu.dev/docs/api-reference/common/local-first/Shared) › DevicePersistenceDep

Defined in: [packages/common/src/local-first/Shared.ts:1489](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/common/src/local-first/Shared.ts#L1489)

Tells what the platform can promise about the databases it stores.

`NotPersisted` means the platform offers no persistent storage now, as a
browser does in Safari's Private Browsing or a Firefox private window, so the
worker keeps every database in memory; see Storage in the Shared module.

## Properties

<a id="getdevicepersistence"></a>

### getDevicePersistence

```ts
readonly getDevicePersistence: () => Promise<DevicePersistence>;
```

Defined in: [packages/common/src/local-first/Shared.ts:1490](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/common/src/local-first/Shared.ts#L1490)