import { TagType } from '@alauda/ui';
import { KubernetesResource } from '../types/public-api';
export declare const NOTIFY_PREFIX = "notify_";
export declare const NOTIFY_PUSH_TYPE: string;
export declare const NOTIFY_INFO_TYPE: string;
export declare const NOTIFY_NOT_FIXED: string;
export interface Message extends KubernetesResource {
    spec: MessageSpec;
    expanded?: boolean;
}
export interface MessageSpec {
    type?: string;
    isResident: boolean;
    expiredTimestamp?: string;
    subject: string;
    content?: string;
}
export declare function dateValueOf(value: string): number;
export declare const MESSAGE_CONFIG: {
    apiGroup: string;
    apiVersion: string;
    type: string;
};
export declare enum MessageType {
    'WarningMessage' = "WarningMessage",
    'SystemMessage' = "SystemMessage",
    'ProductMessage' = "ProductMessage",
    'PlatformAnnouncement' = "PlatformAnnouncement"
}
export declare const MESSAGE_TYPE_MAP: Record<MessageType, {
    type?: TagType;
    title: string;
    color?: string;
}>;
export declare const ALL_MESSAGE_TYPE: MessageType[];
