import { type ListenerCallback, type ListenerOptions } from '../types/listener'; export default class Listener { private options; listening: boolean; private callback?; private tid?; constructor(options?: ListenerOptions); start(timeout: number | null, callback: ListenerCallback): void; stop(): void; receiveMessage(event: MessageEvent): void; }