import { type ResolvedCommand } from "@cotal-ai/core"; import type { NatsConnection } from "@nats-io/transport-node"; import { readStandaloneEndpointCaller, type ControlAuth } from "@cotal-ai/workspace"; type StandaloneCaller = Awaited>; export interface EndpointConnection { nc: NatsConnection; space: string; server: string; root?: string; account?: string; mode?: string; auth: ControlAuth; callerCredential?: Omit & { brokerAdmitted: true; commands: readonly string[]; }; } /** A command a paired caller file can carry: untargeted, synchronous and ephemeral. */ export declare function pairedCallerCommand(command: Pick): boolean; /** One native caller connection. Explicit paired files never enter the operator-mint resolver. */ export declare function openEndpointConnection(values: Record, profile: "control-caller-privileged" | "control-caller-admin", endpoint: string, instanceId?: string): Promise; export {}; //# sourceMappingURL=endpoint-client.d.ts.map