import { Resources, SampleUsage } from "./IndexResources.js";
import { Asset } from "../chain/Asset.js";
import { UInt64, UInt8 } from "../chain/Integer.js";
import { Struct } from "../chain/Struct.js";
export declare class REXState extends Struct {
    version: UInt8;
    total_lent: Asset;
    total_unlent: Asset;
    total_rent: Asset;
    total_lendable: Asset;
    total_rex: Asset;
    namebid_proceeds: Asset;
    loan_num: UInt64;
    get reserved(): number;
    get symbol(): Asset.Symbol;
    get precision(): number;
    get value(): number;
    exchange(amount: Asset): Asset;
    price_per(sample: SampleUsage, unit?: number): number;
}
export declare class REXAPI {
    private parent;
    constructor(parent: Resources);
    get_state(): Promise<REXState>;
}
//# sourceMappingURL=Rex.d.ts.map