import type { Member, Node } from "../"; import { BootstrapMethodsAttribute, CodeAttribute } from "../attr"; import type { Instruction } from "../insn"; import type { Entry, Pool } from "../pool"; export declare enum NodeType { CLASS = "class", ENUM = "enum", INTERFACE = "interface", ANNOTATION = "@interface", MODULE = "module" } export declare enum ElementType { CLASS = 0, INTERFACE = 1, CONSTRUCTOR = 2, METHOD = 3, FIELD = 4, PARAMETER = 5, MODULE = 6, MODULE_REQUIRES = 7, MODULE_EXPORTS = 8 } export declare const formatMod: (mod: number, element?: ElementType) => string; export declare const escapeString: (s?: string) => string; export declare const escapeLiteral: (s?: string) => string; export declare const formatEntry: (entry: Entry, pool: Pool, bsmAttr?: BootstrapMethodsAttribute) => string; export declare const formatInsn: (code: CodeAttribute, bsmAttr: BootstrapMethodsAttribute | null, insn: Instruction, pool: Pool, branchOffsets?: boolean) => string; export interface DisassemblyOptions { indent?: string; fullyQualified?: boolean; verbose?: boolean; } export declare const disassembleMethod: (node: Node, method: Member, options?: DisassemblyOptions) => string; export declare const disassemble: (node: Node, options?: DisassemblyOptions) => string;