import type { Logging } from 'homebridge'; import { SecurityState } from '../types/security-state-type.js'; import type { SecuritySystemOptions } from '../interfaces/options-interface.js'; import type { SystemState } from '../interfaces/system-state-interface.js'; import type { EventBusService } from './event-bus-service.js'; /** Manages ffplay audio playback for arming, warning and triggered sounds. */ export declare class AudioService { private readonly log; private readonly options; private readonly state; private readonly audioSwitchEnabled; constructor(log: Logging, options: SecuritySystemOptions, state: SystemState, audioSwitchEnabled: () => boolean); /** Register event listeners on the bus so audio reacts to state changes. */ attachToBus(bus: EventBusService): void; play(type: string, stateOrMode: SecurityState | string): void; stop(): void; setup(): Promise; private resolveDirectory; private appendLoopArgs; private buildEnv; }