/** * 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 TEST_ORACLE_DISCRIMINATOR: Uint8Array; export declare function getTestOracleDiscriminatorBytes(): ReadonlyUint8Array; export type TestOracle = { discriminator: ReadonlyUint8Array; price: bigint; expo: number; conf: bigint; publishTime: bigint; }; export type TestOracleArgs = { price: number | bigint; expo: number; conf: number | bigint; publishTime: number | bigint; }; /** Gets the encoder for {@link TestOracleArgs} account data. */ export declare function getTestOracleEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link TestOracle} account data. */ export declare function getTestOracleDecoder(): FixedSizeDecoder; /** Gets the codec for {@link TestOracle} account data. */ export declare function getTestOracleCodec(): FixedSizeCodec; export declare function decodeTestOracle(encodedAccount: EncodedAccount): Account; export declare function decodeTestOracle(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchTestOracle(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeTestOracle(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllTestOracle(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeTestOracle(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getTestOracleSize(): number; //# sourceMappingURL=testOracle.d.ts.map