import { Script } from '@ts-bitcoin/core';
import { HashInfo, HashOutput } from '../../../lib/types.js';
import { Key } from 'univrse';
/**
 * This uses the UNIVRSE protocol, hash type is distinguished by the header { meta: { type: 'hash }}
 */
/**
 * @category Envelopes
 */
export declare class Hash {
    readonly info: HashInfo;
    private envelope;
    private constructor();
    static create(options: HashOutput): Promise<Hash>;
    private createEnvelope;
    toOpReturnScriptHex(): string;
    static fromOpReturnScript(script: Script, key?: Key | string): Promise<Hash>;
}
