import { Optional, Area } from "../../common";
import { MarkerBase } from "../marker-base";
import { APIDiscreteMarker, StoreDiscreteMarker } from "./interfaces";
export declare class DiscreteMarker extends MarkerBase {
    constructor(name: string, description: string, relatedMarkers: string[] | null, organs: string[], categories: string[] | null, conditions: string[] | null, genes: string[] | null, symptoms: string[] | null, reports: string[] | null, units: string[], synonyms: string[], needMenstrualPhase: boolean, needTimeOfDay: boolean, needBmi: boolean, needAge: boolean, area: Area[]);
    /**
     * The name of the marker resource on the API server.
     */
    static get resourceName(): string;
    /**
     * The name of the service containing the marker resource.
     */
    static get serviceName(): string;
    /**
     * Convert the marker into a JSON serializable object for the API server.
     */
    serializeAPI(): Optional<APIDiscreteMarker, "id">;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The marker data from the API server.
     */
    deserializeAPI(data: APIDiscreteMarker): void;
    /**
     * Serialize the marker into a format for storing in the Redux store.
     */
    serializeRedux(): StoreDiscreteMarker;
    /**
     * Create a DiscreteMarker from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The DiscreteMarker object.
     */
    static apiFactory(data: APIDiscreteMarker): DiscreteMarker;
    /**
     * Create a marker from the Redux store data.
     *
     * @param data Data from the api server.
     *
     * @returns The marker object.
     */
    static reduxFactory(data: StoreDiscreteMarker): DiscreteMarker;
}
