# PipelineOutput
Source: https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/pipelineoutput/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> **PipelineOutput**<`Out`\> = \[`Out`\] _extends_ \[[`PlannerCandidate`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/plannercandidate/)\] ? [`PlannerCandidate`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/plannercandidate/) : \[`Out`\] _extends_ \[[`ReplylessCandidate`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/replylesscandidate/)\] ? [`ReplylessCandidate`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/replylesscandidate/) : [`PlannerOutput`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/planneroutput/)

Defined in: [packages/engine/src/lib/planner/candidate.ts:74](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/engine/src/lib/planner/candidate.ts#L74)

The narrowest of [PlannerCandidate](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/plannercandidate/), [ReplylessCandidate](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/replylesscandidate/) and [PlannerOutput](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/planneroutput/) that contains `Out`. `pipeline` types the planner it builds with it, so a pipeline whose last stage returns strict candidates is a plain `Planner`.

## Type Parameters

### Out

`Out` _extends_ [`PlannerOutput`](https://docs.maelstrom-ai.co/dev/reference/engine/type-aliases/planneroutput/)

What the last stage of a planner produces.
