> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: StorageReader

> Not exported: an exported type refers to it.

[browser](/api/modules/browser).StorageReader

Not exported: an exported type refers to it.

## Methods

### getUrl

▸ **getUrl**(`storageId`): `Promise`\<`null` | `string`>

#### Parameters

| Name | Type |
| :- | :- |
| `storageId` | [`Id`](/api/modules/browser#id)\<`"_storage"`> |

#### Returns

`Promise`\<`null` | `string`>

▸ **getUrl**\<`T`>(`storageId`): `Promise`\<`null` | `string`>

#### Type parameters

| Name | Type |
| :- | :- |
| `T` | extends `string` |

#### Parameters

| Name | Type |
| :- | :- |
| `storageId` | `T` extends \{ `__tableName`: `any`  } ? `never` : `T` |

#### Returns

`Promise`\<`null` | `string`>

***

### getMetadata

▸ **getMetadata**(`storageId`): `Promise`\<`null` | [`FileMetadata`](/api/modules/browser#filemetadata)>

#### Parameters

| Name | Type |
| :- | :- |
| `storageId` | [`Id`](/api/modules/browser#id)\<`"_storage"`> |

#### Returns

`Promise`\<`null` | [`FileMetadata`](/api/modules/browser#filemetadata)>

▸ **getMetadata**\<`T`>(`storageId`): `Promise`\<`null` | [`FileMetadata`](/api/modules/browser#filemetadata)>

#### Type parameters

| Name | Type |
| :- | :- |
| `T` | extends `string` |

#### Parameters

| Name | Type |
| :- | :- |
| `storageId` | `T` extends \{ `__tableName`: `any`  } ? `never` : `T` |

#### Returns

`Promise`\<`null` | [`FileMetadata`](/api/modules/browser#filemetadata)>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.