import { Address } from "@solana/kit";
import BN from "bn.js";
import * as types from "../types";
export interface TokenInfoFields {
    name: Array<number>;
    heuristic: types.PriceHeuristicFields;
    maxTwapDivergenceBps: BN;
    maxAgePriceSeconds: BN;
    maxAgeTwapSeconds: BN;
    scopeConfiguration: types.ScopeConfigurationFields;
    switchboardConfiguration: types.SwitchboardConfigurationFields;
    pythConfiguration: types.PythConfigurationFields;
    blockPriceUsage: number;
    reserved: Array<number>;
    padding: Array<BN>;
}
export interface TokenInfoJSON {
    name: Array<number>;
    heuristic: types.PriceHeuristicJSON;
    maxTwapDivergenceBps: string;
    maxAgePriceSeconds: string;
    maxAgeTwapSeconds: string;
    scopeConfiguration: types.ScopeConfigurationJSON;
    switchboardConfiguration: types.SwitchboardConfigurationJSON;
    pythConfiguration: types.PythConfigurationJSON;
    blockPriceUsage: number;
    reserved: Array<number>;
    padding: Array<string>;
}
export declare class TokenInfo {
    readonly name: Array<number>;
    readonly heuristic: types.PriceHeuristic;
    readonly maxTwapDivergenceBps: BN;
    readonly maxAgePriceSeconds: BN;
    readonly maxAgeTwapSeconds: BN;
    readonly scopeConfiguration: types.ScopeConfiguration;
    readonly switchboardConfiguration: types.SwitchboardConfiguration;
    readonly pythConfiguration: types.PythConfiguration;
    readonly blockPriceUsage: number;
    readonly reserved: Array<number>;
    readonly padding: Array<BN>;
    constructor(fields: TokenInfoFields);
    static layout(property?: string): import("buffer-layout").Layout<unknown>;
    static fromDecoded(obj: any): types.TokenInfo;
    static toEncodable(fields: TokenInfoFields): {
        name: number[];
        heuristic: {
            lower: BN;
            upper: BN;
            exp: BN;
        };
        maxTwapDivergenceBps: BN;
        maxAgePriceSeconds: BN;
        maxAgeTwapSeconds: BN;
        scopeConfiguration: {
            priceFeed: Address;
            priceChain: number[];
            twapChain: number[];
        };
        switchboardConfiguration: {
            priceAggregator: Address;
            twapAggregator: Address;
        };
        pythConfiguration: {
            price: Address;
        };
        blockPriceUsage: number;
        reserved: number[];
        padding: BN[];
    };
    toJSON(): TokenInfoJSON;
    static fromJSON(obj: TokenInfoJSON): TokenInfo;
    toEncodable(): {
        name: number[];
        heuristic: {
            lower: BN;
            upper: BN;
            exp: BN;
        };
        maxTwapDivergenceBps: BN;
        maxAgePriceSeconds: BN;
        maxAgeTwapSeconds: BN;
        scopeConfiguration: {
            priceFeed: Address;
            priceChain: number[];
            twapChain: number[];
        };
        switchboardConfiguration: {
            priceAggregator: Address;
            twapAggregator: Address;
        };
        pythConfiguration: {
            price: Address;
        };
        blockPriceUsage: number;
        reserved: number[];
        padding: BN[];
    };
}
//# sourceMappingURL=TokenInfo.d.ts.map