import { EventEmitter } from 'node:events'; import type { AlexaBluetoothState, AlexaConversation, AlexaDevice, AlexaInitOptions, AlexaList, AlexaListItem, AlexaMultiRoomGroup, AlexaNotification, AlexaPlayerInfo, AlexaPlayerQueue, AlexaPushEvent, AlexaPushEventType, AlexaRoutine, AlexaSequenceNode, AlexaSmarthomeDevice } from './types'; declare const AlexaRemoteExt_base: new () => EventEmitter; export declare class AlexaRemoteExt extends AlexaRemoteExt_base { private readonly alexa; private initialized; constructor(); init(options: AlexaInitOptions): Promise; startProxyAuth(options: AlexaInitOptions, loginTimeoutMs: number, onProxyReady: (url: string) => void): Promise>; private assertInit; getDevices(): Promise; getDeviceInfo(serialNumber: string): Promise; sendCommand(device: string, command: string, value?: string | null): Promise; setDoNotDisturb(device: string, enabled: boolean): Promise; getAutomationRoutines(): Promise; executeRoutine(routineIdOrUtterance: string): Promise; sendSequenceCommand(sequence: AlexaSequenceNode): Promise; sendSequenceCommandStr(device: string, command: string, value?: string | null): Promise; private _extractDeviceSerialFromSequence; private _getFirstDeviceSerial; speak(device: string, text: string, locale: string, type?: 'regular' | 'ssml' | 'announcement'): Promise; setVolume(device: string, volume: number, locale?: string): Promise; playMusic(device: string, provider: string, search: string, locale?: string, duration?: number): Promise; sendAnnouncement(devices: string[], text: string, locale: string): Promise; getSmarthomeDevices(): Promise; controlSmarthomeDevice(entity: string, action: string, value?: string): Promise; getNotifications(): Promise; createNotification(device: string, type: 'Alarm' | 'Reminder', label: string, alarmTime: string): Promise; deleteNotification(notificationId: string): Promise; createList(name: string): Promise; deleteList(listId: string, version: number): Promise; getLists(): Promise; addListItem(listType: string, text: string): Promise; getListItems(listId: string): Promise; removeListItem(listId: string, itemId: string, version: number): Promise; getAccount(): Promise; getContacts(): Promise; getMusicProviders(): Promise; getBluetooth(cached?: boolean): Promise; connectBluetooth(device: string, mac: string): Promise; disconnectBluetooth(device: string): Promise; unpairBluetooth(device: string, mac: string): Promise; getDeviceVolume(serial: string): Promise; getPlayerInfo(device: string): Promise; getPlayerQueue(device: string, size?: number): Promise; getConversations(options?: { unread?: boolean; latest?: boolean; }): Promise; sendTextMessage(conversationId: string, text: string): Promise; getInternalCookieData(): unknown; getMultiRoomGroups(): Promise; lookupDevice(serialOrName: string): AlexaDevice | null; onPushEvent(eventType: AlexaPushEventType, handler: (payload: AlexaPushEvent) => void): this; offPushEvent(eventType: AlexaPushEventType, handler: (payload: AlexaPushEvent) => void): this; disconnect(): void; } export declare function normalizeProxyPort(value: unknown): number | undefined; export declare function stopLoginProxyServer(): void; export declare function createAlexaFromCredentials(credentials: Record, usePushConnection?: boolean, cookieOverride?: Record): Promise; export declare function refreshAlexaCookieFromCredentials(credentials: Record): Promise>; export {};