import type { ClassEntry, NameTypeEntry, Pool } from "../pool"; import { AttributeType } from "../spec"; import type { Attribute } from "./"; export interface EnclosingMethodAttribute extends Attribute { type: AttributeType.ENCLOSING_METHOD; classIndex: number; methodIndex: number; classEntry?: ClassEntry; methodEntry?: NameTypeEntry; } export declare const readEnclosingMethod: (attr: Attribute, pool: Pool) => EnclosingMethodAttribute; export declare const writeEnclosingMethod: (attr: EnclosingMethodAttribute) => Uint8Array;