> ## 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.

# Class: ModelCompositionBuilder

> Reference for the ModelCompositionBuilder class in bijection/server.

[server](/api/modules/server).ModelCompositionBuilder

## Constructors

### constructor

• **new ModelCompositionBuilder**()

## Methods

### add

▸ **add**(`...values`): `ScenarioValue`\<`bigint`>

#### Parameters

| Name | Type |
| :- | :- |
| `...values` | `ScenarioInput`\<`bigint`>\[] |

#### Returns

`ScenarioValue`\<`bigint`>

***

### count

▸ **count**(`collection`): `ScenarioValue`\<`bigint`>

#### Parameters

| Name | Type |
| :- | :- |
| `collection` | `ScenarioInput`\<readonly `unknown`\[]> |

#### Returns

`ScenarioValue`\<`bigint`>

***

### call

▸ **call**\<`Input`, `Output`>(`id`, `model`, `input`): `ScenarioValue`\<`Output`>

#### Type parameters

| Name |
| :- |
| `Input` |
| `Output` |

#### Parameters

| Name | Type |
| :- | :- |
| `id` | `string` |
| `model` | [`ModelDefinition`](/api/modules/server#modeldefinition)\<`Input`, `Output`> |
| `input` | `ScenarioInput`\<`Input`> |

#### Returns

`ScenarioValue`\<`Output`>


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