export declare function copyArrayBufferViewToBuffer(data: ArrayBufferView): ArrayBuffer;
export declare function normalizeTransportPayload(data: string | Uint8Array | ArrayBuffer): string | ArrayBuffer;
export declare function extractRelayMessageData(event: unknown): string | ArrayBuffer;
export declare function describeTransportClose(event?: unknown): string;
export declare function describeTransportError(event?: unknown): string;
export declare function safeRandomId(): string;
export declare function decodeMessageData(data: unknown): string | null;
export declare function encodeUtf8String(value: string): Uint8Array;
//# sourceMappingURL=daemon-client-transport-utils.d.ts.map