/** * 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 ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const RESUME_DISCRIMINATOR = 44; export declare function getResumeDiscriminatorBytes(): ReadonlyUint8Array; export declare const RESUME_PAUSABLE_DISCRIMINATOR = 2; export declare function getResumePausableDiscriminatorBytes(): ReadonlyUint8Array; export type ResumeInstruction = string, TAccountAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, TAccountAuthority extends string ? ReadonlyAccount : TAccountAuthority, ...TRemainingAccounts ]>; export type ResumeInstructionData = { discriminator: number; pausableDiscriminator: number; }; export type ResumeInstructionDataArgs = {}; export declare function getResumeInstructionDataEncoder(): FixedSizeEncoder; export declare function getResumeInstructionDataDecoder(): FixedSizeDecoder; export declare function getResumeInstructionDataCodec(): FixedSizeCodec; export type ResumeInput = { /** The mint. */ mint: Address; /** The pausable authority that can resume the mint. */ authority: Address | TransactionSigner; }; export declare function getResumeInstruction(input: ResumeInput, config?: { programAddress?: TProgramAddress; }): ResumeInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority>; export type ParsedResumeInstruction = { programAddress: Address; accounts: { /** The mint. */ mint: TAccountMetas[0]; /** The pausable authority that can resume the mint. */ authority: TAccountMetas[1]; }; data: ResumeInstructionData; }; export declare function parseResumeInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedResumeInstruction; //# sourceMappingURL=resume.d.ts.map