/** * Locks Module * * Skills for time-locking BSV. */ import type { Skill } from "../skills/types"; export interface LockBsvRequest { /** Amount in satoshis to lock */ satoshis: number; /** Block height until which to lock */ until: number; } export interface LockData { /** Total locked satoshis */ totalLocked: number; /** Unlockable satoshis (matured locks) */ unlockable: number; /** Next unlock block height */ nextUnlock: number; } export interface LockOperationResponse { txid?: string; rawtx?: string; error?: string; } /** Input for getLockData skill (no required params) */ export type GetLockDataInput = Record; /** * Get lock data summary. */ export declare const getLockData: Skill; /** Input for lockBsv skill */ export interface LockBsvInput { requests: LockBsvRequest[]; } /** * Lock BSV until a block height. */ export declare const lockBsv: Skill; /** Input for unlockBsv skill (no required params) */ export type UnlockBsvInput = Record; /** * Unlock matured BSV locks. */ export declare const unlockBsv: Skill; /** All lock skills for registry */ export declare const locksSkills: (Skill | Skill | Skill)[];