import { Instruction, AluOp, Scope, ValueType, IpoFile, FunctionBlock, ScreenBlock, MenuBlock, StateMachineBlock } from '@emdzej/inpax-core'; import { type ChalkInstance } from 'chalk'; /** Opcode names */ export declare const OPCODE_NAMES: Record; /** ALU operation names */ export declare const ALU_NAMES: Record; /** Scope names */ export declare const SCOPE_NAMES: Record; /** Value type names */ export declare const VALUE_TYPE_NAMES: Record; /** Color scheme for syntax highlighting */ export interface ColorScheme { address: ChalkInstance; raw: ChalkInstance; mnemonic: ChalkInstance; mnemonicJump: ChalkInstance; mnemonicCall: ChalkInstance; mnemonicRet: ChalkInstance; operand: ChalkInstance; number: ChalkInstance; string: ChalkInstance; label: ChalkInstance; comment: ChalkInstance; funcHeader: ChalkInstance; separator: ChalkInstance; } /** Default color scheme */ export declare const DEFAULT_COLORS: ColorScheme; export interface DisassemblyOptions { showRaw?: boolean; showAddress?: boolean; resolveLabels?: boolean; showComments?: boolean; indent?: string; noColor?: boolean; colors?: Partial; } /** Format single instruction */ export declare function formatInstruction(instr: Instruction, index: number, ipo?: IpoFile, options?: DisassemblyOptions): string; /** Disassemble function block */ export declare function disassembleFunction(func: FunctionBlock, ipo?: IpoFile, options?: DisassemblyOptions): string[]; /** Disassemble entire IPO file */ export declare function disassembleIpo(ipo: IpoFile, options?: DisassemblyOptions): string[]; /** Disassemble screen block */ export declare function disassembleScreen(screen: ScreenBlock, ipo?: IpoFile, options?: DisassemblyOptions): string[]; /** Disassemble menu block */ export declare function disassembleMenu(menu: MenuBlock, ipo?: IpoFile, options?: DisassemblyOptions): string[]; /** Disassemble state machine block */ export declare function disassembleStateMachine(sm: StateMachineBlock, ipo?: IpoFile, options?: DisassemblyOptions): string[]; //# sourceMappingURL=formatter.d.ts.map