import type { z } from "zod"; import type { IntegrationAccountReference } from "../../automation/integrations.js"; import { CLOUDFLARE_ALERT_TYPE_SCHEMA, CLOUDFLARE_NOTIFICATION_FILTERS_SCHEMA } from "@automate.ax/integration-contracts/cloudflare"; /** Public camelCase Cloudflare notification-policy filters. */ type Filters = z.input; export interface CloudflareTriggerOptions { account?: string | IntegrationAccountReference<"cloudflare">; accountId: string; filters?: Filters; } export interface OnCloudflareNotificationOptions extends CloudflareTriggerOptions { alertTypes: z.input[]; } export declare const onCloudflareNotification: import("../../automation/create-trigger").TriggerFactory<{ readonly account: { readonly connectionOptions: readonly [{ readonly connectionMethodId: "oauth"; readonly requiredScopes: readonly ["notifications.write"]; }, { readonly connectionMethodId: "api-token"; readonly requiredScopes: readonly []; }]; readonly serviceId: "cloudflare"; }; readonly type: "cloudflare.notification"; }>; /** Subscribes to Cloudflare network-layer DDoS attack notifications. */ export declare const onCloudflareLayer4DdosAttack: (options: CloudflareTriggerOptions) => import("../..").Signal<{ alertType: "advanced_ddos_attack_l4_alert"; data: { accountName?: string | undefined; accountTag?: string | undefined; action?: string | undefined; attackId?: string | undefined; attackVector?: string | undefined; dashboardLink?: string | undefined; maxRate?: string | undefined; megabitsPerSecond?: number | undefined; mitigation?: string | undefined; packetsPerSecond?: number | undefined; protocol?: string | undefined; ruleDescription?: string | undefined; ruleId?: string | undefined; ruleName?: string | undefined; rulesetId?: string | undefined; rulesetOverrideId?: string | undefined; startTime?: string | undefined; targetId?: string | undefined; targetIp?: string | undefined; targetPort?: number | undefined; }; accountId?: string | undefined; alertCorrelationId?: string | undefined; alertEvent?: string | undefined; name?: string | undefined; policyId?: string | undefined; policyName?: string | undefined; text?: string | undefined; timestamp?: string | number | undefined; }>; /** Subscribes to Cloudflare application-layer DDoS attack notifications. */ export declare const onCloudflareLayer7DdosAttack: (options: CloudflareTriggerOptions) => import("../..").Signal<{ alertType: "advanced_ddos_attack_l7_alert"; data: { accountName?: string | undefined; accountTag?: string | undefined; action?: string | undefined; attackId?: string | undefined; attackType?: string | undefined; dashboardLink?: string | undefined; maxRate?: string | undefined; mitigation?: string | undefined; requestsPerSecond?: number | undefined; ruleDescription?: string | undefined; ruleId?: string | undefined; ruleLink?: string | undefined; rulesetId?: string | undefined; rulesetOverrideId?: string | undefined; startTime?: string | undefined; targetHostname?: string | undefined; zoneName?: string | undefined; zoneTag?: string | undefined; }; accountId?: string | undefined; alertCorrelationId?: string | undefined; alertEvent?: string | undefined; name?: string | undefined; policyId?: string | undefined; policyName?: string | undefined; text?: string | undefined; timestamp?: string | number | undefined; }>; /** Subscribes to Cloudflare dedicated SSL certificate events. */ export declare const onCloudflareSslCertificateEvent: (options: CloudflareTriggerOptions) => import("../..").Signal<{ alertType: "dedicated_ssl_certificate_event_type"; data: { accountName?: string | undefined; accountTag?: string | undefined; certificateId?: string | undefined; certificatePackId?: string | undefined; certificateStatus?: string | undefined; eventType?: string | undefined; hostnames?: string | undefined; packCa?: string | undefined; packId?: string | undefined; packStatus?: string | undefined; packValidation?: string | undefined; zoneName?: string | undefined; zoneTag?: string | undefined; }; accountId?: string | undefined; alertCorrelationId?: string | undefined; alertEvent?: string | undefined; name?: string | undefined; policyId?: string | undefined; policyName?: string | undefined; text?: string | undefined; timestamp?: string | number | undefined; }>; /** Subscribes to Cloudflare origin health-check status changes. */ export declare const onCloudflareOriginHealthCheckStatusChanged: (options: CloudflareTriggerOptions) => import("../..").Signal<{ alertType: "health_check_status_notification"; data: { accountName?: string | undefined; accountTag?: string | undefined; failingRegions?: string | undefined; healthCheckId?: string | undefined; healthCheckName?: string | undefined; newHealthStatus?: string | undefined; newStatus?: string | undefined; oldStatus?: string | undefined; originIp?: string | undefined; reason?: string | undefined; statusChangeTime?: string | undefined; timeSinceLastFailure?: string | undefined; zoneName?: string | undefined; zoneTag?: string | undefined; }; accountId?: string | undefined; alertCorrelationId?: string | undefined; alertEvent?: string | undefined; name?: string | undefined; policyId?: string | undefined; policyName?: string | undefined; text?: string | undefined; timestamp?: string | number | undefined; }>; /** Subscribes to Cloudflare Access custom-certificate expiration alerts. */ export declare const onCloudflareAccessCertificateExpiring: (options: CloudflareTriggerOptions) => import("../..").Signal<{ alertType: "access_custom_certificate_expiration_type"; data: { accountName?: string | undefined; accountTag?: string | undefined; certificateId?: string | undefined; daysTilExpiration?: number | undefined; hostnames?: string | undefined; zoneName?: string | undefined; zoneTag?: string | undefined; }; accountId?: string | undefined; alertCorrelationId?: string | undefined; alertEvent?: string | undefined; name?: string | undefined; policyId?: string | undefined; policyName?: string | undefined; text?: string | undefined; timestamp?: string | number | undefined; }>; export {}; //# sourceMappingURL=triggers.d.ts.map