import { struct } from "@coral-xyz/borsh"; import { PublicKey } from "@solana/web3.js"; /** * Base class for decodable on-chain account structures. * * This class provides a generic decode method that can be inherited by all * account deserializer classes, eliminating the need to implement the same * decode logic in each class. */ export declare abstract class Decodable { readonly _address: PublicKey; static _layout: ReturnType; static decode(this: { new (): T; _layout: ReturnType; }, address: PublicKey, buffer: Buffer): T; getAddress(): PublicKey; }