import type { Entry, HandleEntry, Pool } from "../pool"; import { AttributeType } from "../spec"; import type { Attribute } from "./"; export interface BootstrapMethodArgument { index: number; entry?: Entry; } export interface BootstrapMethod { ref: number; refEntry?: HandleEntry; args: BootstrapMethodArgument[]; } export interface BootstrapMethodsAttribute extends Attribute { type: AttributeType.BOOTSTRAP_METHODS; methods: BootstrapMethod[]; } export declare const readBootstrapMethods: (attr: Attribute, pool: Pool) => BootstrapMethodsAttribute; export declare const writeBootstrapMethods: (attr: BootstrapMethodsAttribute) => Uint8Array;