import type { TSchema } from "typebox"; import type { Backend, SpawnConfig, StructuredSource } from "../backend.js"; import type { RegisteredBackend } from "../registry.js"; export declare class CustomAcpBackend implements Backend { private readonly config; readonly id: string; /** id + spawn-config hash: two registries (e.g. two scripts' `meta.backends`) may declare * the SAME name with DIFFERENT commands — the pool must never share a process across them. */ readonly poolKey: string; /** The agent may ignore the `_meta.outputSchema` forward, so the runner must also state the * schema in the prompt — otherwise the model returns JSON with keys it invented and the * repair ladder can never converge on a contract the model was never shown. */ readonly embedSchemaInPrompt = true; readonly injectStructuredOutputTool: boolean; readonly customCapabilities?: NonNullable; constructor(config: RegisteredBackend); spawnConfig(): SpawnConfig; sessionMetaDefaults(): Record | undefined; sessionMeta(_schema: TSchema | undefined): Record | undefined; promptMeta(schema: TSchema | undefined): Record | undefined; nativeStructured(source: StructuredSource): unknown; } //# sourceMappingURL=custom.d.ts.map