import { asset } from "./asset.js";
export declare const protobufPackage = "hive.protocol.buffers";
/**
 * Represents quotation of the relative value of asset against another asset.
 * Similar to 'currency pair' used to determine value of currencies.
 *
 * For example:
 * 1 EUR / 1.25 USD where:
 * 1 EUR is an asset specified as a base
 * 1.25 USD us an asset specified as a qute
 *
 * can determine value of EUR against USD.
 */
export interface price {
    /**
     * @param {asset} base - Represents a value of the price object to be expressed relatively to quote asset.
     *                       Cannot have amount == 0 if you want to build valid price.
     */
    base: asset | undefined;
    /** @param {asset} quote - represents an relative asset. Cannot have amount == 0, otherwise asertion fail. */
    quote: asset | undefined;
}
export declare const price: {
    fromJSON(object: any): price;
    toJSON(message: price): unknown;
    create<I extends Exact<DeepPartial<price>, I>>(base?: I): price;
    fromPartial<I extends Exact<DeepPartial<price>, I>>(object: I): price;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & {
    [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
};
export {};
