/** * 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 TERMS_SIGNATURE_DISCRIMINATOR: Uint8Array; export declare function getTermsSignatureDiscriminatorBytes(): ReadonlyUint8Array; export type TermsSignature = { discriminator: ReadonlyUint8Array; signature: ReadonlyUint8Array; }; export type TermsSignatureArgs = { signature: ReadonlyUint8Array; }; /** Gets the encoder for {@link TermsSignatureArgs} account data. */ export declare function getTermsSignatureEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link TermsSignature} account data. */ export declare function getTermsSignatureDecoder(): FixedSizeDecoder; /** Gets the codec for {@link TermsSignature} account data. */ export declare function getTermsSignatureCodec(): FixedSizeCodec; export declare function decodeTermsSignature(encodedAccount: EncodedAccount): Account; export declare function decodeTermsSignature(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchTermsSignature(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybeTermsSignature(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllTermsSignature(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybeTermsSignature(rpc: Parameters[0], addresses: Array
, config?: FetchAccountsConfig): Promise[]>; export declare function getTermsSignatureSize(): number; //# sourceMappingURL=termsSignature.d.ts.map