export type NotifyHealthStatus = "ok" | "degraded" | "down";
export type NotifyNeverDelivered = {
    app_id: string;
    category: string;
    reason: string | null;
    failures: number | null;
    last_at: Date | null;
};
export type NotifyOutboxHealth = {
    pending: number;
    overdue: number;
    oldest_overdue_s: number;
    retrying: number;
};
export type NotifyHealth = {
    ok: boolean;
    status: NotifyHealthStatus;
    delivery: "fcm" | "log_mode" | "unknown";
    problems: string[];
    checks: {
        database: boolean;
        fcm_credentials: boolean;
        push_directory: boolean;
        drain: boolean;
        app_registry: boolean;
        outbox: NotifyOutboxHealth | null;
        last_48h: Record<string, number>;
        never_delivered: NotifyNeverDelivered[];
    };
};
export declare function notifyHealth(): Promise<NotifyHealth>;
