import type { IntegerType } from '@stacks/common'; import type { StacksNetwork, StacksNetworkName } from '@stacks/network'; import type { PoxInfo } from './types'; export declare function buildUnlockScript(publicKey: Uint8Array | string): Uint8Array; export declare const BITCOIN_LOCKTIME_THRESHOLD = 500000000n; export declare function computeRegisterPreimage(stxAddress: string): Uint8Array; export declare function validateEarlyUnlockBytes(earlyUnlockBytes: Uint8Array | string, opts?: { shape?: boolean; }): Uint8Array; export declare function buildLockScript(opts: { stxAddress: string; unlockHeight: IntegerType; unlockBytes: Uint8Array | string; earlyUnlockBytes: Uint8Array | string; validateEarlyUnlockBytes?: boolean; }): Uint8Array; export declare function buildLockOutputScript(opts: { stxAddress: string; unlockHeight: IntegerType; unlockBytes: Uint8Array | string; earlyUnlockBytes: Uint8Array | string; }): Uint8Array; export declare function buildLockAddress(opts: { stxAddress: string; unlockHeight: IntegerType; unlockBytes: Uint8Array | string; earlyUnlockBytes: Uint8Array | string; network: StacksNetworkName | StacksNetwork; validateEarlyUnlockBytes?: boolean; }): string; export declare function buildLockAddress(opts: { stxAddress: string; unlockHeight: IntegerType; publicKey: Uint8Array | string; earlyUnlockBytes: Uint8Array | string; network: StacksNetworkName | StacksNetwork; validateEarlyUnlockBytes?: boolean; }): string; export declare function computeBondUnlockHeight(opts: { bondIndex: number; poxInfo: PoxInfo; }): number; export interface RegisterMetadata { lockAddress: string; lockScript: Uint8Array; outputScript: Uint8Array; unlockBytes: Uint8Array; unlockHeight: number; } export declare function buildRegisterMetadata(opts: { bondIndex: number; poxInfo: PoxInfo; bitcoinPublicKey: Uint8Array | string; stxAddress: string; earlyUnlockBytes: Uint8Array | string; network: StacksNetworkName | StacksNetwork; validateEarlyUnlockBytes?: boolean; }): RegisterMetadata;