import { AccountMeta, PublicKey, TransactionInstruction } from '@xoneorg/web3.js'; import { TokenInstruction } from './types.js'; /** TODO: docs */ export interface CreateMintMetaAccountInstructionData { instruction: TokenInstruction.CreateMintMetaAccount; } /** TODO: docs */ export declare const createMintMetaAccountInstructionData: import("@xoneorg/buffer-layout").Structure; /** * Construct an createCreateMintMetaAccount instruction * * @param payer Token payer account * @param mint Token mint account * @param mintMeta Token mintMeta account * @param programId SPL Token program account * * @return Instruction to add to a transaction */ export declare function createMintMetaAccountInstruction(payer: PublicKey, mint: PublicKey, mintMeta: PublicKey, programId?: PublicKey): TransactionInstruction; /** A decoded, valid CreateMintMetaAccount instruction */ export interface DecodedCreateMintMetaAccountInstruction { programId: PublicKey; keys: { payer: AccountMeta; mint: AccountMeta; mintMeta: AccountMeta; program: AccountMeta; system: AccountMeta; rent: AccountMeta; }; data: { instruction: TokenInstruction.CreateMintMetaAccount; }; } /** * Decode an CreateMintMetaAccount instruction and validate it * * @param instruction Transaction instruction to decode * @param programId SPL Token program account * * @return Decoded, valid instruction */ export declare function decodeCreateMintMetaAccountInstruction(instruction: TransactionInstruction, programId?: PublicKey): DecodedCreateMintMetaAccountInstruction; /** A decoded, non-validated CreateMintMetaAccount instruction */ export interface DecodedCreateMintMetaAccountInstructionUnchecked { programId: PublicKey; keys: { payer: AccountMeta | undefined; mint: AccountMeta | undefined; mintMeta: AccountMeta | undefined; program: AccountMeta | undefined; system: AccountMeta | undefined; rent: AccountMeta | undefined; }; data: { instruction: number; }; } /** * Decode an CreateMintMetaAccount instruction without validating it * * @param instruction Transaction instruction to decode * * @return Decoded, non-validated instruction */ export declare function decodeCreateMintMetaAccountInstructionUnchecked({ programId, keys: [payer, mint, mintMeta, program, system, rent], data, }: TransactionInstruction): DecodedCreateMintMetaAccountInstructionUnchecked; //# sourceMappingURL=createMintMetaAccount.d.ts.map