export declare enum Direction {
    Up = "up",
    Down = "down",
    Left = "left",
    Right = "right"
}
export declare enum AlertType {
    Alarm = "alarm",
    Warning = "warning",
    Caution = "caution"
}
export declare enum AlertCategory {
    a = "a",
    b = "b",
    c = "c"
}
export interface Alert {
    id: string;
    tagId: string;
    source: string;
    text: string;
    note?: string;
    acknowledged: false | {
        acknowledgedBy: string;
        acknowledgedAt: Date;
    };
    active: true | {
        rectifiedTime: Date;
    };
    type: AlertType;
    time: Date;
    lastModified?: Date;
    shelved?: false | {
        shelvedStartTime: Date;
        shelvedEndTime?: Date;
        shelvedBy?: string;
    };
    blocked?: false | {
        blockedStartTime: Date;
        blockedEndTime?: Date;
        blockedBy?: string;
    };
    noAck?: boolean;
    category?: AlertCategory;
}
export declare function isActive(alert: Alert): boolean;
export declare function isAcknowledged(alert: Alert): boolean;
export declare function isShelved(alert: Alert): boolean;
export declare function isBlocked(alert: Alert): boolean;
export declare function comparePriorityAlerts(a: Alert, b: Alert): number;
export type TimeSinceFn = (time: Date) => string;
export declare function formatTimeSince(time: Date): string;
//# sourceMappingURL=types.d.ts.map