import type { Pool, UTF8Entry } from "../pool"; import { AttributeType } from "../spec"; import type { Attributable, Attribute } from "./"; type LVTType = AttributeType.LOCAL_VARIABLE_TABLE | AttributeType.LOCAL_VARIABLE_TYPE_TABLE; export interface LocalVariableTableAttribute extends Attribute { type: LVTType; entries: LocalVariable[]; } export interface LocalVariable { startPC: number; length: number; nameIndex: number; descriptorIndex: number; index: number; nameEntry?: UTF8Entry; descriptorEntry?: UTF8Entry; } export declare const readLocalVariableTable: (attr: Attribute, pool: Pool) => LocalVariableTableAttribute; export declare const writeLocalVariableTable: (attr: LocalVariableTableAttribute) => Uint8Array; export declare const localsAt: (attrib: Attributable, offset: number) => LocalVariable[]; export declare const localSize: (desc: string) => number; export {};