---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/media/interfaces/CapabilityProbe.md
description: >-
  The minimal synchronous capability probe the validator narrows against. The
  pipeline's engine registry implements it; tests stub it.
---

# Interface: CapabilityProbe

Defined in: [src/batteries/media/validate.ts:32](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/validate.ts#L32)

The minimal synchronous capability probe the validator narrows against. The pipeline's
engine registry implements it; tests stub it.

## Extended by

* [`EngineRegistry`](EngineRegistry.md)

## Methods

### hasConvert()

```ts
hasConvert(from?: string, to?: string): boolean;
```

Defined in: [src/batteries/media/validate.ts:34](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/validate.ts#L34)

`true` when some engine declares a matching convert edge (omit either side for "any").

#### Parameters

| Parameter | Type     |
| --------- | -------- |
| `from?`   | `string` |
| `to?`     | `string` |

#### Returns

`boolean`

***

### hasEdit()?

```ts
optional hasEdit(mime?: string, op?: string): boolean;
```

Defined in: [src/batteries/media/validate.ts:41](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/validate.ts#L41)

`true` when some engine declares a matching edit capability (omit both for "any").
Optional so existing probe stubs stay valid; absent means "no edit engines".

#### Parameters

| Parameter | Type     |
| --------- | -------- |
| `mime?`   | `string` |
| `op?`     | `string` |

#### Returns

`boolean`

***

### hasMutate()

```ts
hasMutate(): boolean;
```

Defined in: [src/batteries/media/validate.ts:36](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/validate.ts#L36)

`true` when some engine declares a mutate capability.

#### Returns

`boolean`
