[**agentfootprint**](../README.md)

***

[agentfootprint](/agentfootprint/api/generated/README.md) / defineInjection

# Function: defineInjection()

> **defineInjection**(`opts`): [`Injection`](/agentfootprint/api/generated/interfaces/Injection.md)

Defined in: [src/lib/injection-engine/factories/defineInjection.ts:41](https://github.com/footprintjs/agentfootprint/blob/d1cb45510740421f2b84b6de9f852a72e94bb106/src/lib/injection-engine/factories/defineInjection.ts#L41)

## Parameters

### opts

[`DefineInjectionOptions`](/agentfootprint/api/generated/type-aliases/DefineInjectionOptions.md)

## Returns

[`Injection`](/agentfootprint/api/generated/interfaces/Injection.md)
