/** * 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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type Option, type OptionOrNullable, type ReadonlyUint8Array } from "@solana/kit"; export declare const DIRECT_WITHDRAW_INIT_RECEIPT_DISCRIMINATOR: Uint8Array; export declare function getDirectWithdrawInitReceiptDiscriminatorBytes(): ReadonlyUint8Array; export type DirectWithdrawInitReceipt = { discriminator: ReadonlyUint8Array; /** The vault associated with this strategy. */ vault: Address; /** The strategy address. */ strategy: Address; /** The position value. */ adaptorProgram: Address; /** The instruction discriminator. */ instructionDiscriminator: ReadonlyUint8Array; /** The additional arguments. */ additionalArgs: Option; /** Whether the user args are allowed. */ allowUserArgs: boolean; /** A version number (1 byte). */ version: number; /** The bump for the strategy init receipt. */ bump: number; }; export type DirectWithdrawInitReceiptArgs = { /** The vault associated with this strategy. */ vault: Address; /** The strategy address. */ strategy: Address; /** The position value. */ adaptorProgram: Address; /** The instruction discriminator. */ instructionDiscriminator: ReadonlyUint8Array; /** The additional arguments. */ additionalArgs: OptionOrNullable; /** Whether the user args are allowed. */ allowUserArgs: boolean; /** A version number (1 byte). */ version: number; /** The bump for the strategy init receipt. */ bump: number; }; /** Gets the encoder for {@link DirectWithdrawInitReceiptArgs} account data. */ export declare function getDirectWithdrawInitReceiptEncoder(): Encoder; /** Gets the decoder for {@link DirectWithdrawInitReceipt} account data. */ export declare function getDirectWithdrawInitReceiptDecoder(): Decoder; /** Gets the codec for {@link DirectWithdrawInitReceipt} account data. */ export declare function getDirectWithdrawInitReceiptCodec(): Codec; export declare function decodeDirectWithdrawInitReceipt(encodedAccount: EncodedAccount): Account; export declare function decodeDirectWithdrawInitReceipt(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchDirectWithdrawInitReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeDirectWithdrawInitReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllDirectWithdrawInitReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeDirectWithdrawInitReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; //# sourceMappingURL=directWithdrawInitReceipt.d.ts.map