/** * 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 EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from "@solana/kit"; export declare const REQUEST_WITHDRAW_VAULT_RECEIPT_DISCRIMINATOR: Uint8Array; export declare function getRequestWithdrawVaultReceiptDiscriminatorBytes(): ReadonlyUint8Array; export type RequestWithdrawVaultReceipt = { discriminator: ReadonlyUint8Array; vault: Address; user: Address; amountLpEscrowed: bigint; amountAssetToWithdrawDecimalBits: bigint; withdrawableFromTs: bigint; bump: number; version: number; }; export type RequestWithdrawVaultReceiptArgs = { vault: Address; user: Address; amountLpEscrowed: number | bigint; amountAssetToWithdrawDecimalBits: number | bigint; withdrawableFromTs: number | bigint; bump: number; version: number; }; /** Gets the encoder for {@link RequestWithdrawVaultReceiptArgs} account data. */ export declare function getRequestWithdrawVaultReceiptEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link RequestWithdrawVaultReceipt} account data. */ export declare function getRequestWithdrawVaultReceiptDecoder(): FixedSizeDecoder; /** Gets the codec for {@link RequestWithdrawVaultReceipt} account data. */ export declare function getRequestWithdrawVaultReceiptCodec(): FixedSizeCodec; export declare function decodeRequestWithdrawVaultReceipt(encodedAccount: EncodedAccount): Account; export declare function decodeRequestWithdrawVaultReceipt(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchRequestWithdrawVaultReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeRequestWithdrawVaultReceipt(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllRequestWithdrawVaultReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeRequestWithdrawVaultReceipt(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getRequestWithdrawVaultReceiptSize(): number; //# sourceMappingURL=requestWithdrawVaultReceipt.d.ts.map