import IMessage from '../IMessage';
import IProximity from './IProximity';
export interface IStateChangeMessage extends IMessage {
    detected: boolean;
}
export default class Proximity implements IProximity {
    private messagePrefix;
    static MESSAGE_PREFIX: string;
    private eventEmitter;
    private lastDetected;
    /** @internal */
    constructor(messagePrefix: string);
    /** @internal */
    onStateChange(callback: (detected: boolean) => void): () => void;
    /** @internal */
    handleMessageData(data: IStateChangeMessage): void;
    private getMessage;
}
