/** * Authenticated control client (L1, spec 6.1/6.2). * * Published `@sentropic/llm-gateway/node/control-client` surface: * `createGatewayControlClient({ controlSocket })` in production; tests and * the in-process SDK pass a bound transport directly. Receipt import/revoke * and qualification operations arrive in L4 on this same client. */ import type { ControlTransport } from './control-server.js'; import type { AcquireSessionInput, IssuedSession, MigrateSessionPolicyInput, StoredReceipt } from '../session-service.js'; import type { TurnCaptureRecord } from '../ports/capture-vault.js'; export interface GatewayControlClient { acquireSession(input: AcquireSessionInput): Promise; migrateSessionPolicy(input: MigrateSessionPolicyInput): Promise<{ sessionRef: string; expiresAt: string; policyRevision: string; receiptId: string; }>; revokeSession(input: { ownerScopeRef: string; sessionRef: string; }): Promise<{ revoked: boolean; }>; listSessions(input: { ownerScopeRef: string; }): Promise<{ sessionRef: string; workspaceRef: string; clientSessionRef: string; expiresAt: string; revoked: boolean; policyRevision: string; }[]>; readReceipt(input: { ownerScopeRef: string; receiptId: string; }): Promise; readTurnCapture(input: { ownerScopeRef: string; captureId: string; }): Promise; } export declare const createGatewayControlClient: (options: { transport?: ControlTransport; token?: string; controlSocket?: string; }) => GatewayControlClient; //# sourceMappingURL=control-client.d.ts.map