import type { Context } from '@deepseek-ai/cordis'; import type { AgentValetService } from '../identity/index.js'; /** * `av-identity` registers the `agentvalet` service via `ctx.provide`, which * only widens the untyped service store. Declaring it here on `Context` * lets any plugin that injects `'agentvalet'` access `ctx.agentvalet` * directly instead of going through the untyped `ctx.get()` escape hatch. */ declare module '@deepseek-ai/cordis' { interface Context { agentvalet: AgentValetService; } } /** Cordis plugin name used by loader diagnostics. */ export declare const name = "av-tools"; /** Hard dependencies: without either, there is nothing to register. */ export declare const inject: string[]; export interface Config { plugin: 'tools'; } /** * `_config` is unused today; it is in the signature so the bundle entry can * forward config through `ctx.plugin(tools, config)` without the parameter * type collapsing to `undefined`. */ export declare function apply(ctx: Context, _config?: Config): Promise;