import type { IncomingMessage } from 'http';
import WebSocket from 'ws';
export interface ConsecutiveStep {
    type: 'audio' | 'delay' | 'keyboard' | 'startAfter';
    value: string;
    index: number;
}
export declare function setPendingAudioStep(callSid: string, audioUrl: string, stepIndex: number, nextStepUrl: string, shouldListen?: boolean, startAfterSeconds?: number | null, consecutiveSteps?: ConsecutiveStep[]): void;
/**
 * Handle WebSocket connection for Twilio Media Stream
 * Full implementation with OpenAI Realtime API integration
 */
export declare function handleMediaStreamConnection(ws: WebSocket, req: IncomingMessage): void;
//# sourceMappingURL=media-stream-handler.d.ts.map