import type { IotaAnchoringChannel } from "../iotaAnchoringChannel";
/**
 * Helper class to deal with protocol aspects
 *
 */
export declare class ProtocolHelper {
    /**
     * Given a channel address and a message Id returns the corresponding L1 tangle index that
     * allows to locate the L1 Ledger message
     *
     * @param channelAddress The channel address
     * @param messageId The message identifier
     * @returns the tangle index encoded in hexadecimal chars
     */
    static getIndexL1(channelAddress: string, messageId: string): Promise<string>;
    /**
     * Given an anchoring channel and an anchored message ID returns the
     * corresponding message ID at L1 on the Ledger
     *
     * @param channel   The anchoring channel
     * @param messageId The Streams Message Id
     * @returns the Layer 1 message ID
     */
    static getMsgIdL1(channel: IotaAnchoringChannel, messageId: string): Promise<string>;
}
