import { TagType } from '@alauda/ui';
import { KubernetesResource } from '../../../core/public-api';
export declare const NOTIFY_PREFIX = "notify_";
export declare const NOTIFY_PUSH_TYPE = "notify_push";
export declare const NOTIFY_INFO_TYPE = "notify_info";
export declare const NOTIFY_NOT_FIXED = "notify_notFixed";
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[];
