import { Receiver } from '@grafana/api-clients/rtkq/notifications.alerting/v0alpha1'; import { ContactPoint } from '../api/notifications/v0alpha1/types'; /** * Checks if a contact point can be used in routes and rules. * Contact points that are imported from external sources (e.g., Prometheus Alertmanager) * have the `grafana.com/canUse` annotation set to `false` and cannot be used. * * @param contactPoint - The ContactPoint object to check * @returns `true` if the contact point can be used, `false` otherwise */ export declare function isUsableContactPoint(contactPoint: ContactPoint | Receiver): boolean; /** * Generates a human-readable description of a ContactPoint by summarizing its integrations. * If the ContactPoint has no integrations, it returns an empty placeholder text. * * For integrations, it counts the occurrences of each type and formats them as a comma-separated list. * Multiple integrations of the same type are indicated with a count in parentheses. * * @param contactPoint - The ContactPoint object to describe * @returns A string description of the ContactPoint's integrations */ export declare function getContactPointDescription(contactPoint: ContactPoint | Receiver): string;