import BN from "bn.js";
import * as types from "../types";
export interface LastUpdateFields {
    slot: BN;
    stale: number;
    priceStatus: number;
    placeholder: Array<number>;
}
export interface LastUpdateJSON {
    slot: string;
    stale: number;
    priceStatus: number;
    placeholder: Array<number>;
}
export declare class LastUpdate {
    readonly slot: BN;
    readonly stale: number;
    readonly priceStatus: number;
    readonly placeholder: Array<number>;
    constructor(fields: LastUpdateFields);
    static layout(property?: string): import("buffer-layout").Layout<unknown>;
    static fromDecoded(obj: any): types.LastUpdate;
    static toEncodable(fields: LastUpdateFields): {
        slot: BN;
        stale: number;
        priceStatus: number;
        placeholder: number[];
    };
    toJSON(): LastUpdateJSON;
    static fromJSON(obj: LastUpdateJSON): LastUpdate;
    toEncodable(): {
        slot: BN;
        stale: number;
        priceStatus: number;
        placeholder: number[];
    };
}
//# sourceMappingURL=LastUpdate.d.ts.map