import type { Pool, UTF8Entry } from "../pool"; import { AttributeType } from "../spec"; import { type Attributable, type Attribute } from "./"; export interface RecordComponent extends Attributable { name: number; nameEntry?: UTF8Entry; descriptor: number; descriptorEntry?: UTF8Entry; } export interface RecordAttribute extends Attribute { type: AttributeType.RECORD; components: RecordComponent[]; } export declare const readRecord: (attr: Attribute, pool: Pool, flags?: number) => RecordAttribute; export declare const writeRecord: (attr: RecordAttribute) => Uint8Array;