import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../helpers";
/**
 * MarketParam represents the x/prices configuration for markets, including
 * representing price values, resolving markets on individual exchanges, and
 * generating price updates. This configuration is specific to the quote
 * currency.
 */
export interface MarketParam {
    /** Unique, sequentially-generated value. */
    id: number;
    /** The human-readable name of the market pair (e.g. `BTC-USD`). */
    pair: string;
    /**
     * Static value. The exponent of the price.
     * For example if `Exponent == -5` then a `Value` of `1,000,000,000`
     * represents ``$10,000`. Therefore `10 ^ Exponent` represents the smallest
     * price step (in dollars) that can be recorded.
     *
     * Deprecated since v8.x. This value is now determined from the marketmap.
     */
    /** @deprecated */
    exponent: number;
    /**
     * The minimum number of exchanges that should be reporting a live price for
     * a price update to be considered valid.
     *
     * Deprecated since v8.x. This value is now determined from the marketmap.
     */
    minExchanges: number;
    /**
     * The minimum allowable change in `price` value that would cause a price
     * update on the network. Measured as `1e-6` (parts per million).
     */
    minPriceChangePpm: number;
    /**
     * A string of json that encodes the configuration for resolving the price
     * of this market on various exchanges.
     *
     * Deprecated since v8.x. This is now determined from the marketmap.
     */
    exchangeConfigJson: string;
}
/**
 * MarketParam represents the x/prices configuration for markets, including
 * representing price values, resolving markets on individual exchanges, and
 * generating price updates. This configuration is specific to the quote
 * currency.
 */
export interface MarketParamSDKType {
    id: number;
    pair: string;
    /** @deprecated */
    exponent: number;
    min_exchanges: number;
    min_price_change_ppm: number;
    exchange_config_json: string;
}
export declare const MarketParam: {
    encode(message: MarketParam, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MarketParam;
    fromPartial(object: DeepPartial<MarketParam>): MarketParam;
};
//# sourceMappingURL=market_param.d.ts.map