export type PcmConnectionState = 'error' | 'connected' | 'connecting' | 'not-configured'; export type PcmState = { state?: PcmConnectionState; connectionAttempts?: number; errorMessage?: string; };