import { Resource } from "../../common";
import { APIActivityFeed, ActivityColor, CTAType } from "./interfaces";
export declare class ActivityFeed extends Resource {
    /**
     * Activity type name
     */
    name: string;
    /**
     * Activity message
     */
    message: string;
    /**
     * Activity message color
     */
    color: ActivityColor;
    /**
     * Time since activity performed
     */
    humanizedTime: string;
    /**
     * Id of related instance
     */
    instanceId: string;
    /**
     * Type of call to action (used to build link)
     */
    ctaType: CTAType | null;
    constructor(
    /**
     * Activity type name
     */
    name: string, 
    /**
     * Activity message
     */
    message: string, 
    /**
     * Activity message color
     */
    color: ActivityColor, 
    /**
     * Time since activity performed
     */
    humanizedTime: string, 
    /**
     * Id of related instance
     */
    instanceId: string, 
    /**
     * Type of call to action (used to build link)
     */
    ctaType: CTAType | null);
    /**
     * The name of the service containing the ActivityFeed resource.
     */
    static get serviceName(): string;
    static get resourceName(): string;
    /**
     * Convert the ActivityFeed into a JSON serializable object for the API server.
     */
    serializeAPI(): APIActivityFeed;
    /**
     * Deserialize the data from the API server.
     *
     * @param data The ActivityFeed data from the API server.
     */
    deserializeAPI(data: APIActivityFeed): void;
    serializeRedux(): void;
    /**
     * Create an ActivityFeed from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns ActivityFeed object
     */
    static apiFactory(data: APIActivityFeed): ActivityFeed;
}
