import { Secret, EncryptedState } from '../../../Secret';
/**
 * An extended private key (xpriv). Supports encryption.
 *
 * @example
 * ```ts
 * const xpriv = new Xpriv('xprv9s21ZrQH143K...');
 * console.log(xpriv.key);
 * ```
 */
export declare class Xpriv extends Secret {
    /** @param source - The xpriv string or {@link EncryptedState}. */
    constructor(source: string | EncryptedState);
    /** The raw bytes. */
    get raw(): Uint8Array;
    /** The xpriv as hex. */
    get hex(): string;
    /** The xpriv string. */
    get key(): string;
}
