import type { Context } from '@deepseek-ai/cordis'; import type { TypertGateway } from '@deepseek-ai/dsh-api-gateway'; import type { ConnectionFetchHandler, PeerScope } from '@deepseek-ai/dsh-client-connection'; import type { DshPublicApiProxyLike } from './api-proxy-adapter.js'; /** Keep the adapter checked against the supported DSH public Host contract. */ export interface DshGatewayLike extends Pick { wireStream: Pick; } export interface DshConnectionLike { createSharedFetchHandler(channel: '/api'): Pick; } export declare const EMPTY_DSH_UPLINK: AsyncIterable; /** Keep the existing remote protocol/projections; translate only the DSH API boundary. */ export declare function createDshGatewayApi(ctx: Pick, gateway: DshGatewayLike, connection: DshConnectionLike, lifetime: AbortSignal, peer: PeerScope): DshPublicApiProxyLike; //# sourceMappingURL=gateway-api.d.ts.map