/// import BN from 'bn.js'; import { ExecutionContext, Op, OpInvoke } from './constants'; export declare type CreateOp = (input: CreateOpArgs) => { readonly op: Op; readonly context: ExecutionContext; }; interface OpStatic { readonly type: 'op'; readonly op: Op; } interface OpCreate { readonly type: 'create'; readonly create: CreateOp; } export interface CreateOpArgs { readonly context: ExecutionContext; } export declare const createOp: ({ name, in: _in, inAlt, out, outAlt, invocation, fee: feeIn, invoke, }: { readonly name: "PUSH0" | "PUSHBYTES1" | "PUSHBYTES2" | "PUSHBYTES3" | "PUSHBYTES4" | "PUSHBYTES5" | "PUSHBYTES6" | "PUSHBYTES7" | "PUSHBYTES8" | "PUSHBYTES9" | "PUSHBYTES10" | "PUSHBYTES11" | "PUSHBYTES12" | "PUSHBYTES13" | "PUSHBYTES14" | "PUSHBYTES15" | "PUSHBYTES16" | "PUSHBYTES17" | "PUSHBYTES18" | "PUSHBYTES19" | "PUSHBYTES20" | "PUSHBYTES21" | "PUSHBYTES22" | "PUSHBYTES23" | "PUSHBYTES24" | "PUSHBYTES25" | "PUSHBYTES26" | "PUSHBYTES27" | "PUSHBYTES28" | "PUSHBYTES29" | "PUSHBYTES30" | "PUSHBYTES31" | "PUSHBYTES32" | "PUSHBYTES33" | "PUSHBYTES34" | "PUSHBYTES35" | "PUSHBYTES36" | "PUSHBYTES37" | "PUSHBYTES38" | "PUSHBYTES39" | "PUSHBYTES40" | "PUSHBYTES41" | "PUSHBYTES42" | "PUSHBYTES43" | "PUSHBYTES44" | "PUSHBYTES45" | "PUSHBYTES46" | "PUSHBYTES47" | "PUSHBYTES48" | "PUSHBYTES49" | "PUSHBYTES50" | "PUSHBYTES51" | "PUSHBYTES52" | "PUSHBYTES53" | "PUSHBYTES54" | "PUSHBYTES55" | "PUSHBYTES56" | "PUSHBYTES57" | "PUSHBYTES58" | "PUSHBYTES59" | "PUSHBYTES60" | "PUSHBYTES61" | "PUSHBYTES62" | "PUSHBYTES63" | "PUSHBYTES64" | "PUSHBYTES65" | "PUSHBYTES66" | "PUSHBYTES67" | "PUSHBYTES68" | "PUSHBYTES69" | "PUSHBYTES70" | "PUSHBYTES71" | "PUSHBYTES72" | "PUSHBYTES73" | "PUSHBYTES74" | "PUSHBYTES75" | "PUSHDATA1" | "PUSHDATA2" | "PUSHDATA4" | "PUSHM1" | "PUSH1" | "PUSH2" | "PUSH3" | "PUSH4" | "PUSH5" | "PUSH6" | "PUSH7" | "PUSH8" | "PUSH9" | "PUSH10" | "PUSH11" | "PUSH12" | "PUSH13" | "PUSH14" | "PUSH15" | "PUSH16" | "NOP" | "JMP" | "JMPIF" | "JMPIFNOT" | "CALL" | "RET" | "APPCALL" | "SYSCALL" | "TAILCALL" | "DUPFROMALTSTACK" | "TOALTSTACK" | "FROMALTSTACK" | "XDROP" | "XSWAP" | "XTUCK" | "DEPTH" | "DROP" | "DUP" | "NIP" | "OVER" | "PICK" | "ROLL" | "ROT" | "SWAP" | "TUCK" | "CAT" | "SUBSTR" | "LEFT" | "RIGHT" | "SIZE" | "INVERT" | "AND" | "OR" | "XOR" | "EQUAL" | "OP_EQUALVERIFY" | "OP_RESERVED1" | "OP_RESERVED2" | "INC" | "DEC" | "SIGN" | "NEGATE" | "ABS" | "NOT" | "NZ" | "ADD" | "SUB" | "MUL" | "DIV" | "MOD" | "SHL" | "SHR" | "BOOLAND" | "BOOLOR" | "NUMEQUAL" | "NUMNOTEQUAL" | "LT" | "GT" | "LTE" | "GTE" | "MIN" | "MAX" | "WITHIN" | "SHA1" | "SHA256" | "HASH160" | "HASH256" | "CHECKSIG" | "VERIFY" | "CHECKMULTISIG" | "ARRAYSIZE" | "PACK" | "UNPACK" | "PICKITEM" | "SETITEM" | "NEWARRAY" | "NEWSTRUCT" | "NEWMAP" | "APPEND" | "REVERSE" | "REMOVE" | "HASKEY" | "KEYS" | "VALUES" | "PACKSTRUCT" | "CALL_I" | "CALL_E" | "CALL_ED" | "CALL_ET" | "CALL_EDT" | "THROW" | "THROWIFNOT"; readonly in?: number | undefined; readonly inAlt?: number | undefined; readonly out?: number | undefined; readonly outAlt?: number | undefined; readonly invocation?: number | undefined; readonly array?: number | undefined; readonly item?: number | undefined; readonly fee?: BN | undefined; readonly invoke: OpInvoke; }) => OpStatic; export declare const OPCODES: { readonly [x: number]: OpStatic | OpCreate | undefined; }; export declare const lookupOp: ({ context }: { readonly context: ExecutionContext; }) => { readonly op: Op; readonly context: ExecutionContext; }; export {};