import { AccountInfo, PublicKey } from "@solana/web3.js"; import { Infer } from "superstruct"; export declare type StakeAccountType = Infer; export declare const StakeAccountType: import("superstruct").Struct<"uninitialized" | "initialized" | "delegated" | "rewardsPool", { uninitialized: "uninitialized"; initialized: "initialized"; delegated: "delegated"; rewardsPool: "rewardsPool"; }>; export declare type StakeMeta = Infer; export declare const StakeMeta: import("superstruct").Struct<{ rentExemptReserve: import("bn.js"); authorized: { staker: PublicKey; withdrawer: PublicKey; }; lockup: { unixTimestamp: number; epoch: number; custodian: PublicKey; }; }, { rentExemptReserve: import("superstruct").Struct; authorized: import("superstruct").Struct<{ staker: PublicKey; withdrawer: PublicKey; }, { staker: import("superstruct").Struct; withdrawer: import("superstruct").Struct; }>; lockup: import("superstruct").Struct<{ unixTimestamp: number; epoch: number; custodian: PublicKey; }, { unixTimestamp: import("superstruct").Struct; epoch: import("superstruct").Struct; custodian: import("superstruct").Struct; }>; }>; export declare type StakeAccountInfo = Infer; export declare const StakeAccountInfo: import("superstruct").Struct<{ meta: { rentExemptReserve: import("bn.js"); authorized: { staker: PublicKey; withdrawer: PublicKey; }; lockup: { unixTimestamp: number; epoch: number; custodian: PublicKey; }; }; stake: { delegation: { stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }; creditsObserved: number; } | null; }, { meta: import("superstruct").Struct<{ rentExemptReserve: import("bn.js"); authorized: { staker: PublicKey; withdrawer: PublicKey; }; lockup: { unixTimestamp: number; epoch: number; custodian: PublicKey; }; }, { rentExemptReserve: import("superstruct").Struct; authorized: import("superstruct").Struct<{ staker: PublicKey; withdrawer: PublicKey; }, { staker: import("superstruct").Struct; withdrawer: import("superstruct").Struct; }>; lockup: import("superstruct").Struct<{ unixTimestamp: number; epoch: number; custodian: PublicKey; }, { unixTimestamp: import("superstruct").Struct; epoch: import("superstruct").Struct; custodian: import("superstruct").Struct; }>; }>; stake: import("superstruct").Struct<{ delegation: { stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }; creditsObserved: number; } | null, { delegation: import("superstruct").Struct<{ stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }, { voter: import("superstruct").Struct; stake: import("superstruct").Struct; activationEpoch: import("superstruct").Struct; deactivationEpoch: import("superstruct").Struct; warmupCooldownRate: import("superstruct").Struct; }>; creditsObserved: import("superstruct").Struct; }>; }>; export declare type StakeAccount = Infer; export declare const StakeAccount: import("superstruct").Struct<{ type: "uninitialized" | "initialized" | "delegated" | "rewardsPool"; info: { meta: { rentExemptReserve: import("bn.js"); authorized: { staker: PublicKey; withdrawer: PublicKey; }; lockup: { unixTimestamp: number; epoch: number; custodian: PublicKey; }; }; stake: { delegation: { stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }; creditsObserved: number; } | null; }; }, { type: import("superstruct").Struct<"uninitialized" | "initialized" | "delegated" | "rewardsPool", { uninitialized: "uninitialized"; initialized: "initialized"; delegated: "delegated"; rewardsPool: "rewardsPool"; }>; info: import("superstruct").Struct<{ meta: { rentExemptReserve: import("bn.js"); authorized: { staker: PublicKey; withdrawer: PublicKey; }; lockup: { unixTimestamp: number; epoch: number; custodian: PublicKey; }; }; stake: { delegation: { stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }; creditsObserved: number; } | null; }, { meta: import("superstruct").Struct<{ rentExemptReserve: import("bn.js"); authorized: { staker: PublicKey; withdrawer: PublicKey; }; lockup: { unixTimestamp: number; epoch: number; custodian: PublicKey; }; }, { rentExemptReserve: import("superstruct").Struct; authorized: import("superstruct").Struct<{ staker: PublicKey; withdrawer: PublicKey; }, { staker: import("superstruct").Struct; withdrawer: import("superstruct").Struct; }>; lockup: import("superstruct").Struct<{ unixTimestamp: number; epoch: number; custodian: PublicKey; }, { unixTimestamp: import("superstruct").Struct; epoch: import("superstruct").Struct; custodian: import("superstruct").Struct; }>; }>; stake: import("superstruct").Struct<{ delegation: { stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }; creditsObserved: number; } | null, { delegation: import("superstruct").Struct<{ stake: import("bn.js"); voter: PublicKey; activationEpoch: import("bn.js"); deactivationEpoch: import("bn.js"); warmupCooldownRate: number; }, { voter: import("superstruct").Struct; stake: import("superstruct").Struct; activationEpoch: import("superstruct").Struct; deactivationEpoch: import("superstruct").Struct; warmupCooldownRate: import("superstruct").Struct; }>; creditsObserved: import("superstruct").Struct; }>; }>; }>; export declare type KeyedStakeAccountInfo = { accountId: PublicKey; accountInfo: AccountInfo; };