import type { AgentPublicRecord, AgentServiceCapabilities, AgentServiceOptions, AgentServiceRequest, AgentSessionRecord, AgentServiceSnapshot } from "./service-types.js"; /** Portable one-shot agent authority. The execution port runs one participant, never a tree. */ export declare class AgentService { #private; readonly capabilities: AgentServiceCapabilities; constructor(options: AgentServiceOptions); snapshot(): AgentServiceSnapshot; run(callerId: string, request: AgentServiceRequest, signal?: AbortSignal): Promise; spawn(callerId: string, request: AgentServiceRequest, signal?: AbortSignal): Promise; wait(callerId: string, id: string, signal?: AbortSignal): Promise; /** Alias for wait; authorization and cancellation semantics are identical. */ join(callerId: string, id: string, signal?: AbortSignal): Promise; status(callerId: string, id: string): Promise; list(callerId: string): Promise; stop(callerId: string, id: string): Promise; steer(callerId: string, id: string, message: string): Promise; followUp(callerId: string, id: string, message: string): Promise; sessions(callerId: string): Promise; peers(callerId: string): Promise; self(callerId: string): Promise; create(callerId: string, request: { name: string; instructions?: string; task?: string; }, signal?: AbortSignal): Promise; remove(callerId: string, id: string, name?: string, signal?: AbortSignal): Promise; members(callerId: string): Promise; compact(callerId: string, id: string, instructions?: string): Promise; resume(callerId: string, id: string, task?: string, signal?: AbortSignal): Promise; /** Natural root completion waits for all background descendants without fencing live parents. */ drain(): Promise; /** Host-only graceful pause. The port, not the owner signal, quiesces participant effects. */ suspend(): Promise; close(): Promise; } //# sourceMappingURL=service.d.ts.map