import { Account, Address, EncodedAccount, FetchAccountConfig, FetchAccountsConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, MaybeAccount, MaybeEncodedAccount, ReadonlyUint8Array, fetchEncodedAccount, fetchEncodedAccounts } from "@solana/kit"; //#region src/generated/accounts/vesting.d.ts declare const VESTING_DISCRIMINATOR: ReadonlyUint8Array; declare function getVestingDiscriminatorBytes(): ReadonlyUint8Array; type Vesting = { discriminator: ReadonlyUint8Array; position: Address; cliffPoint: bigint; periodFrequency: bigint; cliffUnlockLiquidity: bigint; liquidityPerPeriod: bigint; totalReleasedLiquidity: bigint; numberOfPeriod: number; padding: Array; padding2: Array; }; type VestingArgs = { position: Address; cliffPoint: number | bigint; periodFrequency: number | bigint; cliffUnlockLiquidity: number | bigint; liquidityPerPeriod: number | bigint; totalReleasedLiquidity: number | bigint; numberOfPeriod: number; padding: Array; padding2: Array; }; /** Gets the encoder for {@link VestingArgs} account data. */ declare function getVestingEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link Vesting} account data. */ declare function getVestingDecoder(): FixedSizeDecoder; /** Gets the codec for {@link Vesting} account data. */ declare function getVestingCodec(): FixedSizeCodec; declare function decodeVesting(encodedAccount: EncodedAccount): Account; declare function decodeVesting(encodedAccount: MaybeEncodedAccount): MaybeAccount; declare function fetchVesting(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; declare function fetchMaybeVesting(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; declare function fetchAllVesting(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; declare function fetchAllMaybeVesting(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; //#endregion export { VESTING_DISCRIMINATOR, Vesting, VestingArgs, decodeVesting, fetchAllMaybeVesting, fetchAllVesting, fetchMaybeVesting, fetchVesting, getVestingCodec, getVestingDecoder, getVestingDiscriminatorBytes, getVestingEncoder }; //# sourceMappingURL=vesting.d.ts.map