import { type EpAttributedReply, type EpVerbTarget, type ResolvedService } from "@cotal-ai/core"; import type { NatsConnection } from "@nats-io/transport-node"; export interface AcceptedEndpointGoal { requestId: string; goalId: string; fingerprint?: string; responder: EpAttributedReply["responder"]; } /** One submission and native goal observation. Ending observation never stops or resubmits the action. */ export declare function followEndpointAction(nc: NatsConnection, space: string, service: ResolvedService, command: string, input: Record | undefined, options: { requestId: string; deadlineMs: number; target?: EpVerbTarget; retainBinding: boolean; signal: AbortSignal; beforeSubmit(): void; accepted(value: AcceptedEndpointGoal): void; }): Promise; //# sourceMappingURL=endpoint-goal.d.ts.map