import type { RobotClient } from '../../robot'; import type { Options } from '../../types'; import { Struct, type JsonValue } from '@bufbuild/protobuf'; import type { CallOptions } from '@connectrpc/connect'; import { type AudioInfo } from '../../gen/common/v1/common_pb'; import { type AudioOut } from './audio-out'; /** * A gRPC-web client for the AudioOut component. * * @group Clients */ export declare class AudioOutClient implements AudioOut { private client; readonly name: string; private readonly options; callOptions: CallOptions; constructor(client: RobotClient, name: string, options?: Options); play(audioData: Uint8Array, audioInfo?: AudioInfo, extra?: {}, callOptions?: CallOptions): Promise; getProperties(extra?: {}, callOptions?: CallOptions): Promise<{ supportedCodecs: string[]; sampleRateHz: number; numChannels: number; }>; getStatus(callOptions?: CallOptions): Promise; doCommand(command: Struct | Record, callOptions?: CallOptions): Promise; }