import { RoomEgress } from 'livekit-server-sdk'; /** * LiveKit auto-egress settings, accepted as a plain object or a RoomEgress instance. * Use `room.audioOnly` and `room.fileOutputs` for a single mixed audio recording. * Storage credentials belong here on the server, never in session metadata or tokens. */ export type LiveKitRecordingOptions = NonNullable[0]>; /** A recording-enabled session cannot reuse an existing LiveKit room. */ export declare class LiveKitRecordingRoomConflictError extends Error { readonly roomName: string; constructor(roomName: string); } /** Creates a fresh room with recording configured before any agent or caller joins. */ export declare function createRecordingRoom(options: { roomName: string; serverUrl: string; apiKey: string; apiSecret: string; recording: LiveKitRecordingOptions; }): Promise; //# sourceMappingURL=recording.d.ts.map