import IPostMessage from '../../IPostMessage';
import IPeerRecovery, { IPeerRecoveryConfiguration } from './IPeerRecovery';
/** @todo */
export default class PeerRecovery implements IPeerRecovery {
    private messagePrefix;
    private postMessage;
    /** @internal */
    constructor(messagePrefix: string, postMessage: IPostMessage<IPeerRecoveryConfiguration>);
    /** @internal */
    get(): Promise<IPeerRecoveryConfiguration>;
    /** @internal */
    set(configuration: IPeerRecoveryConfiguration): Promise<void>;
    private getMessage;
}
