import { type DshConnectionLike, type DshGatewayLike } from './gateway-api.js'; import type { PeerScope } from '@deepseek-ai/dsh-client-connection'; type RecordValue = Record; export declare function nativeRecord(value: unknown): RecordValue; type Scope = { accountId: string; createSessionId: string; claim(id: string): Promise; signal: AbortSignal; owned(ids: string[]): Promise>; }; /** Native wire values remain native: no mobile timeline conversion, UI or * Session implementation lives here. The allowlist is an authorization boundary. */ export declare class DshNativeTransport { private readonly gateway; private readonly connection; private readonly peer; private readonly streams; private readonly opening; constructor(gateway: DshGatewayLike, connection: DshConnectionLike, peer: PeerScope); close(): void; private release; private requireOwned; private authorize; private filter; private call; private historyPage; /** The caller must first prove account ownership; reads one public durable event. */ annotationEvent(sessionId: string, seq: number, signal: AbortSignal): Promise<{ [key: string]: unknown; seq: number; type: string; }>; request(body: RecordValue, scope: Scope): Promise; } export {}; //# sourceMappingURL=native-transport.d.ts.map