import { Address, GetAccountInfoApi, GetMultipleAccountsApi, Rpc } from "@solana/kit";
import BN from "bn.js";
export interface UserMetadataFields {
    referrer: Address;
    bump: BN;
    userLookupTable: Address;
    owner: Address;
    padding1: Array<BN>;
    padding2: Array<BN>;
}
export interface UserMetadataJSON {
    referrer: string;
    bump: string;
    userLookupTable: string;
    owner: string;
    padding1: Array<string>;
    padding2: Array<string>;
}
export declare class UserMetadata {
    readonly referrer: Address;
    readonly bump: BN;
    readonly userLookupTable: Address;
    readonly owner: Address;
    readonly padding1: Array<BN>;
    readonly padding2: Array<BN>;
    static readonly discriminator: Buffer<ArrayBuffer>;
    static readonly layout: import("buffer-layout").Layout<UserMetadata>;
    constructor(fields: UserMetadataFields);
    static fetch(rpc: Rpc<GetAccountInfoApi>, address: Address, programId?: Address): Promise<UserMetadata | null>;
    static fetchMultiple(rpc: Rpc<GetMultipleAccountsApi>, addresses: Address[], programId?: Address): Promise<Array<UserMetadata | null>>;
    static decode(data: Buffer): UserMetadata;
    toJSON(): UserMetadataJSON;
    static fromJSON(obj: UserMetadataJSON): UserMetadata;
}
//# sourceMappingURL=UserMetadata.d.ts.map