import { GatewaySessionService } from '../session-service.js'; import type { CaptureVaultPort } from '../ports/capture-vault.js'; export declare class ControlAuthError extends Error { readonly code = "CONTROL-UNAUTHENTICATED"; constructor(); } export interface ControlTransport { invoke(op: string, args: unknown, token: string): Promise; } export declare class ControlOpError extends Error { readonly code = "CONTROL-UNKNOWN-OP"; constructor(op: string); } export declare class ControlServer { private readonly options; private readonly service; private readonly controlDigest; private readonly ownerScopeRef; constructor(options: { service: GatewaySessionService; controlToken: string; ownerScopeRef: string; beforeAcquire?: (input: Record) => Promise; captureVault?: CaptureVaultPort; }); private verified; invoke(op: string, args: unknown, token: string): Promise; } /** In-process trusted SDK transport (may replace the socket inside one process). */ export declare const createInProcessControlTransport: (server: ControlServer) => ControlTransport; //# sourceMappingURL=control-server.d.ts.map