---
title: "MergeInput"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/mergeinput/"
---

# MergeInput

Defined in: [packages/sdk/src/document.ts:211](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/document.ts#L211)

One file [Document.merge](/reference/sdk/classes/document.md#merge) brings in: its bytes, its password when it is encrypted, and
the name of the bookmark that holds its bookmarks (the file's own title when left out). The
merged document holds the engine's copy of the password until it is freed; JavaScript can't
wipe the `password` string, as for [Document.open](/reference/sdk/classes/document.md#open).

## Since

0.3.0

## Properties

### bytes

```ts
readonly bytes: ArrayBuffer | Uint8Array<ArrayBufferLike>;
```

Defined in: [packages/sdk/src/document.ts:212](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/document.ts#L212)

***

### password?

```ts
readonly password?: string;
```

Defined in: [packages/sdk/src/document.ts:213](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/document.ts#L213)

***

### title?

```ts
readonly title?: string;
```

Defined in: [packages/sdk/src/document.ts:214](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/document.ts#L214)
