import type { DirectTransport, DirectTransportDump, DirectTransportStat, DirectTransportEvents, DirectTransportObserver } from './DirectTransportTypes'; import type { Transport, BaseTransportDump } from './TransportTypes'; import { TransportImpl, TransportConstructorOptions } from './Transport'; import type { SctpParameters } from './sctpParametersTypes'; import type { AppData } from './types'; import * as FbsDirectTransport from './fbs/direct-transport'; type DirectTransportConstructorOptions = TransportConstructorOptions & { data: DirectTransportData; }; export type DirectTransportData = { sctpParameters?: SctpParameters; }; export declare class DirectTransportImpl extends TransportImpl implements Transport, DirectTransport { #private; constructor(options: DirectTransportConstructorOptions); get type(): 'direct'; get observer(): DirectTransportObserver; close(): void; routerClosed(): void; dump(): Promise; getStats(): Promise; connect(): Promise; setMaxIncomingBitrate(bitrate: number): Promise; setMaxOutgoingBitrate(bitrate: number): Promise; setMinOutgoingBitrate(bitrate: number): Promise; sendRtcp(rtcpPacket: Buffer): void; private handleWorkerNotifications; private handleListenerError; } export declare function parseDirectTransportDumpResponse(binary: FbsDirectTransport.DumpResponse): BaseTransportDump; export {}; //# sourceMappingURL=DirectTransport.d.ts.map