import { type NodeVeryfrontServiceServer, type VeryfrontServiceServer, type VeryfrontServiceServerLogger, type VeryfrontServiceServerRuntime } from "../../server/service-server.js"; import type { AgentServiceRuntime } from "./definition.js"; /** Public API contract for agent service server lifecycle. */ export type AgentServiceServerLifecycle = { setShuttingDown?: () => void; stop?: () => void | Promise; }; /** Options accepted by create agent service server runtime. */ export type CreateAgentServiceServerRuntimeOptions = { runtime: AgentServiceRuntime; serviceName?: string; lifecycle?: AgentServiceServerLifecycle; logger?: VeryfrontServiceServerLogger; }; /** Options accepted by start node agent service server. */ export type StartNodeAgentServiceServerOptions = CreateAgentServiceServerRuntimeOptions & { port: number; bindAddress?: string; signals?: readonly NodeJS.Signals[]; hardShutdownTimeoutMs?: number; }; /** Options accepted by start agent service server. */ export type StartAgentServiceServerOptions = CreateAgentServiceServerRuntimeOptions & { port: number; bindAddress?: string; signals?: readonly NodeJS.Signals[]; hardShutdownTimeoutMs?: number; }; /** Public API contract for node agent service server. */ export type NodeAgentServiceServer = NodeVeryfrontServiceServer; /** Public API contract for agent service server. */ export type AgentServiceServer = VeryfrontServiceServer | NodeVeryfrontServiceServer; /** Create agent service server runtime. */ export declare function createAgentServiceServerRuntime(options: CreateAgentServiceServerRuntimeOptions): VeryfrontServiceServerRuntime; /** Starts node agent service server. */ export declare function startNodeAgentServiceServer(options: StartNodeAgentServiceServerOptions): Promise; /** Starts agent service server. */ export declare function startAgentServiceServer(options: StartAgentServiceServerOptions): Promise; //# sourceMappingURL=server.d.ts.map