import { RecordingOptions } from '../../recording-options'; import { RecordingEvents } from './recording-events'; /** * Starts recording the call. This is a non-blocking command — execution continues to the next command in the sequence immediately after recording begins. */ export interface StartRecordingCommand { /** Command to start recording on the channel */ command: 'startRecording'; /** Identifier for this recording within the session. Must be unique across active recordings in the session. Other commands (e.g., `stopRecording`) reference this name to target a specific recording. Setting the recording name is useful for stopping the recording using the `stopRecording` command. If name is not set, recording can only be stopped when the call is disconnected. */ recordingName?: string; /** @see RecordingOptions */ recordingOptions: RecordingOptions; /** @see RecordingEvents */ events?: RecordingEvents; } /** Validation regex for recordingName */ export declare const recordingNamePattern: RegExp;