import { Optional, Resource } from "../../common";
import { APIProfileSufferingRisk, StoreProfileSufferingRisk } from "./interfaces";
export declare class ProfileSufferingRisk extends Resource {
    profileId: string;
    riskId: string;
    isSuffering: boolean;
    constructor(profileId: string, riskId: string, isSuffering: boolean);
    static get resourceName(): string;
    static get serviceName(): string;
    /**
     * Convert the profile suffering risk into a JSON serializable object for the API server.
     */
    serializeAPI(): Optional<APIProfileSufferingRisk, "id">;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The profile-suffering risk data from the API server.
     */
    deserializeAPI(data: APIProfileSufferingRisk): void;
    /**
     * Serialize the profile-suffering-risk into a format for storing in the Redux store.
     */
    serializeRedux(): StoreProfileSufferingRisk;
    /**
     * Create a profile-suffering-risk from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The profile-suffering-risk object.
     */
    static apiFactory(data: APIProfileSufferingRisk): ProfileSufferingRisk;
    /**
     * Create a profile-suffering-risk from the redux store data.
     *
     * @param data Data from the redux store.
     *
     * @returns The profile-suffering-risk object.
     */
    static reduxFactory(data: StoreProfileSufferingRisk): ProfileSufferingRisk;
}
