import { Serializable } from './internal.js'; /** * Lock Types * * - Frozen - can't be called; can't be locked; (can be loaded?) * - None - anyone can call; anyone can lock; (default type) * - Address - requires sig to call; requires sig to lock; * - Caller - caller must be parent; new lock must be set by parent; * - Anyone - anyone can call; can't be locked; (must be set in own constructor) */ export declare enum LockType { FROZEN = -1, NONE = 0, ADDRESS = 1, JIG = 2, PUBLIC = 3 } /** * Raw Lock interface */ export interface LockInterface { type: number; data: string; } /** * Output Lock * * Every output has a Lock which determines who can call methods and update the * instance. */ export declare class Lock { type: LockType; data: Uint8Array; constructor(type: LockType, data: Uint8Array); static fromBytes(bytes: Uint8Array): Lock; static fromJson(json: LockInterface): Lock; toBytes(): Uint8Array; toJson(): LockInterface; } /** * Lock Serializer object - implements the Serializable interface. */ export declare const LockSerializer: Serializable; //# sourceMappingURL=lock.d.ts.map