/** * 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const INITIALIZE_PAUSABLE_CONFIG_DISCRIMINATOR = 44; export declare function getInitializePausableConfigDiscriminatorBytes(): ReadonlyUint8Array; export declare const INITIALIZE_PAUSABLE_CONFIG_PAUSABLE_DISCRIMINATOR = 0; export declare function getInitializePausableConfigPausableDiscriminatorBytes(): ReadonlyUint8Array; export type InitializePausableConfigInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializePausableConfigInstructionData = { discriminator: number; pausableDiscriminator: number; /** The authority that can pause and resume the mint. */ authority: Option
; }; export type InitializePausableConfigInstructionDataArgs = { /** The authority that can pause and resume the mint. */ authority: OptionOrNullable
; }; export declare function getInitializePausableConfigInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializePausableConfigInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializePausableConfigInstructionDataCodec(): FixedSizeCodec; export type InitializePausableConfigInput = { /** The mint. */ mint: Address; authority: InitializePausableConfigInstructionDataArgs['authority']; }; export declare function getInitializePausableConfigInstruction(input: InitializePausableConfigInput, config?: { programAddress?: TProgramAddress; }): InitializePausableConfigInstruction; export type ParsedInitializePausableConfigInstruction = { programAddress: Address; accounts: { /** The mint. */ mint: TAccountMetas[0]; }; data: InitializePausableConfigInstructionData; }; export declare function parseInitializePausableConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializePausableConfigInstruction; //# sourceMappingURL=initializePausableConfig.d.ts.map