/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const CREATE_NATIVE_MINT_DISCRIMINATOR = 31; export declare function getCreateNativeMintDiscriminatorBytes(): ReadonlyUint8Array; export type CreateNativeMintInstruction = string, TAccountNativeMint extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountPayer extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPayer, TAccountNativeMint extends string ? WritableAccount : TAccountNativeMint, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type CreateNativeMintInstructionData = { discriminator: number; }; export type CreateNativeMintInstructionDataArgs = {}; export declare function getCreateNativeMintInstructionDataEncoder(): FixedSizeEncoder; export declare function getCreateNativeMintInstructionDataDecoder(): FixedSizeDecoder; export declare function getCreateNativeMintInstructionDataCodec(): FixedSizeCodec; export type CreateNativeMintInput = { /** Funding account (must be a system account) */ payer: TransactionSigner; /** The native mint address */ nativeMint: Address; /** System program for mint account funding */ systemProgram?: Address; }; export declare function getCreateNativeMintInstruction(input: CreateNativeMintInput, config?: { programAddress?: TProgramAddress; }): CreateNativeMintInstruction; export type ParsedCreateNativeMintInstruction = { programAddress: Address; accounts: { /** Funding account (must be a system account) */ payer: TAccountMetas[0]; /** The native mint address */ nativeMint: TAccountMetas[1]; /** System program for mint account funding */ systemProgram: TAccountMetas[2]; }; data: CreateNativeMintInstructionData; }; export declare function parseCreateNativeMintInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCreateNativeMintInstruction; //# sourceMappingURL=createNativeMint.d.ts.map