import { type DurableRuntime, type GovernanceConfig, type TelemetryOptions } from '@purista/harness'; import type { Logger as PuristaLogger } from '../../core/types/Logger.js'; import type { AgentDefinition, AgentManifest, AgentModelBinding, AgentRuntimeInvocationInput, AgentRuntimeModelBindings, AgentRuntimeStreamInvocationInput, AgentSkillRuntimeResolved } from '../types.js'; export type CreateAgentExecutorInput> = { definition: AgentDefinition; manifest: AgentManifest; models: AgentRuntimeModelBindings; runtime?: DurableRuntime; workspaceStore?: unknown; skillRuntime?: AgentSkillRuntimeResolved; logger?: PuristaLogger; stateStore?: unknown; sandbox?: unknown; telemetry?: TelemetryOptions; governance?: GovernanceConfig; }; export declare function createAgentExecutor>(input: CreateAgentExecutorInput): HarnessBackedAgentExecutor; declare class HarnessBackedAgentExecutor> { private readonly input; private readonly harness?; private readonly resolvedModels; private readonly logger?; constructor(input: CreateAgentExecutorInput); executeAggregate(input: AgentRuntimeInvocationInput): Promise; executeStream(input: AgentRuntimeStreamInvocationInput): Promise; shutdown(): Promise; private buildHarness; private execute; private getSession; private withDeclaredSkills; private streamHarnessCall; private resolvePuristaLogger; } /** Error raised when a harness run terminates with a serialized error. */ export declare class AgentRunError extends Error { readonly code: string; readonly category: string; readonly retriable: boolean; readonly meta?: Record; constructor(error: { code: string; category: string; retriable: boolean; message: string; meta?: Record; }); } export {}; //# sourceMappingURL=executor.d.ts.map