import { Optional } from "../../common";
import { MarkerResultBase, MenstrualPhase, TimeOfDay } from "../marker-result-base";
import { Color } from "../range-category";
import { APIDiscreteResult, StoreDiscreteResult } from "./interfaces";
export declare class DiscreteResult extends MarkerResultBase {
    /**
     * The id of the discrete value of this marker result.
     */
    discreteValueId: string;
    /**
     * The name of the discrete value of this marker result.
     * (api return discrete_value_str)
     */
    discreteValueName: string | null;
    /**
     * Ids of the numeric ranges that match this marker RangeCondition (calculated).
     */
    ranges: string[] | null;
    /**
     * Id of the numeric range that matches this result (calculated).
     */
    matchedRangeId: string | null;
    constructor(profileId: string, takenAt: string, discreteValueId: string, discreteValueName: string | null, markerId: string | null, menstrualPhase: MenstrualPhase | null, timeOfDay: TimeOfDay | null, note: string | null, archived: boolean, synonym: string, ranges: string[] | null, matchedRangeId: string | null, bmi: number | null, labShopOrderId: string | null, isStale: boolean | null, isMostRecent: boolean | null, score: number | null, color: Color | null, recommendationIds: string[], recommendationSlugs: string[]);
    /**
     * The name of the discrete result resource on the API server.
     */
    static get resourceName(): string;
    /**
     * The name of the service containing the discrete result resource.
     */
    static get serviceName(): string;
    /**
     * Convert the discrete result into a JSON serializable object for the API server.
     */
    serializeAPI(): Optional<APIDiscreteResult, "id">;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The discrete result data from the API server.
     */
    deserializeAPI(data: APIDiscreteResult): void;
    /**
     * Serialize the discrete result into a format for storing in the Redux store.
     */
    serializeRedux(): StoreDiscreteResult;
    /**
     * Create a discrete result from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The discrete result object.
     */
    static apiFactory(data: APIDiscreteResult): DiscreteResult;
    /**
     * Create a discrete result from the Redux store data.
     *
     * @param data Data from the api server.
     *
     * @returns The discrete result object.
     */
    static reduxFactory(data: StoreDiscreteResult): DiscreteResult;
}
