import { z } from "zod"; export declare const WebhookSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export declare const WebhookSubscriptionSchema: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; notificationTypes: z.ZodArray; severities: z.ZodArray>; componentIds: z.ZodArray; includeDescendants: z.ZodBoolean; }, z.core.$strip>; export declare const WebhookDetailSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; subscriptions: z.ZodArray; severities: z.ZodArray>; componentIds: z.ZodArray; includeDescendants: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; export declare const WebhookDeliverySchema: z.ZodObject<{ id: z.ZodString; projectId: z.ZodNullable; notificationType: z.ZodString; outcome: z.ZodNullable>; attempts: z.ZodNumber; error: z.ZodNullable; httpStatusCode: z.ZodNullable; sentAt: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export declare const WebhookIssueEventSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ created: "created"; ignored: "ignored"; resolved: "resolved"; updated: "updated"; }>; actor: z.ZodObject<{ type: z.ZodEnum<{ agent: "agent"; user: "user"; }>; id: z.ZodNullable; }, z.core.$strip>; note: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export declare const WebhookArtifactSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodString; title: z.ZodString; url: z.ZodString; contentType: z.ZodNullable; sizeBytes: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; export declare const WebhookReportSchema: z.ZodObject<{ format: z.ZodLiteral<"sazabi-mdx">; mdx: z.ZodString; text: z.ZodString; reportTruncated: z.ZodOptional>; }, z.core.$strip>; /** IssueSchema is extended in place so issue webhooks cannot drift from issues.*. */ export declare const WebhookIssueSchema: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ ignored: "ignored"; open: "open"; resolved: "resolved"; }>; severity: z.ZodEnum<{ critical: "critical"; high: "high"; low: "low"; medium: "medium"; }>; componentId: z.ZodNullable; createdAt: z.ZodString; resolvedAt: z.ZodNullable; mutedAt: z.ZodNullable; muteHitCount: z.ZodNumber; lastActivityAt: z.ZodNullable; lastDeliveredAt: z.ZodNullable; locked: z.ZodBoolean; redacted: z.ZodBoolean; url: z.ZodString; component: z.ZodNullable>; event: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ created: "created"; ignored: "ignored"; resolved: "resolved"; updated: "updated"; }>; actor: z.ZodObject<{ type: z.ZodEnum<{ agent: "agent"; user: "user"; }>; id: z.ZodNullable; }, z.core.$strip>; note: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; artifacts: z.ZodArray; sizeBytes: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; report: z.ZodNullable; mdx: z.ZodString; text: z.ZodString; reportTruncated: z.ZodOptional>; }, z.core.$strip>>; rootCause: z.ZodNullable; summary: z.ZodNullable; }, z.core.$strip>; export declare const WebhookEnvelopeBaseSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ automation_run_failed: "automation_run_failed"; issue_ignored: "issue_ignored"; issue_resolved: "issue_resolved"; issue_triggered: "issue_triggered"; test: "test"; }>; apiVersion: z.ZodLiteral<"2026-09-01">; createdAt: z.ZodString; test: z.ZodBoolean; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; project: z.ZodNullable>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const IssueWebhookEnvelopeSchema: z.ZodObject<{ id: z.ZodString; apiVersion: z.ZodLiteral<"2026-09-01">; createdAt: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; type: z.ZodEnum<{ issue_ignored: "issue_ignored"; issue_resolved: "issue_resolved"; issue_triggered: "issue_triggered"; }>; test: z.ZodLiteral; project: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; issue: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ ignored: "ignored"; open: "open"; resolved: "resolved"; }>; severity: z.ZodEnum<{ critical: "critical"; high: "high"; low: "low"; medium: "medium"; }>; componentId: z.ZodNullable; createdAt: z.ZodString; resolvedAt: z.ZodNullable; mutedAt: z.ZodNullable; muteHitCount: z.ZodNumber; lastActivityAt: z.ZodNullable; lastDeliveredAt: z.ZodNullable; locked: z.ZodBoolean; redacted: z.ZodBoolean; url: z.ZodString; component: z.ZodNullable>; event: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ created: "created"; ignored: "ignored"; resolved: "resolved"; updated: "updated"; }>; actor: z.ZodObject<{ type: z.ZodEnum<{ agent: "agent"; user: "user"; }>; id: z.ZodNullable; }, z.core.$strip>; note: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; artifacts: z.ZodArray; sizeBytes: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; report: z.ZodNullable; mdx: z.ZodString; text: z.ZodString; reportTruncated: z.ZodOptional>; }, z.core.$strip>>; rootCause: z.ZodNullable; summary: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const NonIssueWebhookEnvelopeSchema: z.ZodObject<{ id: z.ZodString; apiVersion: z.ZodLiteral<"2026-09-01">; createdAt: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; project: z.ZodNullable>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; type: z.ZodEnum<{ automation_run_failed: "automation_run_failed"; }>; test: z.ZodLiteral; }, z.core.$strip>; export declare const TestWebhookEnvelopeSchema: z.ZodObject<{ id: z.ZodString; apiVersion: z.ZodLiteral<"2026-09-01">; createdAt: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; project: z.ZodNullable>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; type: z.ZodLiteral<"test">; test: z.ZodLiteral; }, z.core.$strip>; export declare const WebhookEnvelopeSchema: z.ZodUnion; createdAt: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; type: z.ZodEnum<{ issue_ignored: "issue_ignored"; issue_resolved: "issue_resolved"; issue_triggered: "issue_triggered"; }>; test: z.ZodLiteral; project: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; issue: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; name: z.ZodString; description: z.ZodNullable; status: z.ZodEnum<{ ignored: "ignored"; open: "open"; resolved: "resolved"; }>; severity: z.ZodEnum<{ critical: "critical"; high: "high"; low: "low"; medium: "medium"; }>; componentId: z.ZodNullable; createdAt: z.ZodString; resolvedAt: z.ZodNullable; mutedAt: z.ZodNullable; muteHitCount: z.ZodNumber; lastActivityAt: z.ZodNullable; lastDeliveredAt: z.ZodNullable; locked: z.ZodBoolean; redacted: z.ZodBoolean; url: z.ZodString; component: z.ZodNullable>; event: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ created: "created"; ignored: "ignored"; resolved: "resolved"; updated: "updated"; }>; actor: z.ZodObject<{ type: z.ZodEnum<{ agent: "agent"; user: "user"; }>; id: z.ZodNullable; }, z.core.$strip>; note: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>; artifacts: z.ZodArray; sizeBytes: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; report: z.ZodNullable; mdx: z.ZodString; text: z.ZodString; reportTruncated: z.ZodOptional>; }, z.core.$strip>>; rootCause: z.ZodNullable; summary: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; apiVersion: z.ZodLiteral<"2026-09-01">; createdAt: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; project: z.ZodNullable>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; type: z.ZodEnum<{ automation_run_failed: "automation_run_failed"; }>; test: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; apiVersion: z.ZodLiteral<"2026-09-01">; createdAt: z.ZodString; organization: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; project: z.ZodNullable>; notification: z.ZodObject<{ title: z.ZodString; message: z.ZodString; }, z.core.$strip>; type: z.ZodLiteral<"test">; test: z.ZodLiteral; }, z.core.$strip>]>; export type WebhookEnvelope = z.infer; export declare const webhooksList: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ webhooks: z.ZodArray; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const webhooksGet: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; subscriptions: z.ZodArray; severities: z.ZodArray>; componentIds: z.ZodArray; includeDescendants: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const webhooksCreate: import("../orpc-contracts/index.js").OperationDefinition>; authHeaderName: z.ZodOptional>; authHeaderValue: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; signingSecret: z.ZodString; }, z.core.$strip>, "api">; export declare const webhooksUpdate: import("../orpc-contracts/index.js").OperationDefinition; url: z.ZodOptional; description: z.ZodOptional>; authHeaderName: z.ZodOptional>; authHeaderValue: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>, "api">; export declare const webhooksDelete: import("../orpc-contracts/index.js").OperationDefinition, z.ZodVoid, "api">; export declare const webhooksRotateSecret: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; signingSecret: z.ZodString; }, z.core.$strip>, "api">; export declare const webhooksEnable: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; url: z.ZodString; status: z.ZodEnum<{ active: "active"; disabled: "disabled"; }>; authHeaderName: z.ZodNullable; signingSecretRotatedAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; disabledAt: z.ZodNullable; disabledReason: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>, "api">; export declare const webhooksTest: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ delivered: z.ZodBoolean; statusCode: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>, "api">; export declare const webhooksSubscribe: import("../orpc-contracts/index.js").OperationDefinition; notificationTypes: z.ZodArray>; severities: z.ZodOptional>>; componentIds: z.ZodOptional>; includeDescendants: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; notificationTypes: z.ZodArray; severities: z.ZodArray>; componentIds: z.ZodArray; includeDescendants: z.ZodBoolean; }, z.core.$strip>, "api">; export declare const webhooksUnsubscribe: import("../orpc-contracts/index.js").OperationDefinition, z.ZodVoid, "api">; export declare const webhooksListDeliveries: import("../orpc-contracts/index.js").OperationDefinition; limit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ deliveries: z.ZodArray; notificationType: z.ZodString; outcome: z.ZodNullable>; attempts: z.ZodNumber; error: z.ZodNullable; httpStatusCode: z.ZodNullable; sentAt: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>, "api">; export type ListWebhooksInput = z.infer; export type ListWebhooksOutput = z.infer; export type GetWebhookInput = z.infer; export type GetWebhookOutput = z.infer; export type CreateWebhookInput = z.infer; export type CreateWebhookOutput = z.infer; export type UpdateWebhookInput = z.infer; export type UpdateWebhookOutput = z.infer; export type DeleteWebhookInput = z.infer; export type DeleteWebhookOutput = z.infer; export type RotateWebhookSecretInput = z.infer; export type RotateWebhookSecretOutput = z.infer; export type EnableWebhookInput = z.infer; export type EnableWebhookOutput = z.infer; export type TestWebhookInput = z.infer; export type TestWebhookOutput = z.infer; export type SubscribeWebhookInput = z.infer; export type SubscribeWebhookOutput = z.infer; export type UnsubscribeWebhookInput = z.infer; export type UnsubscribeWebhookOutput = z.infer; export type ListWebhookDeliveriesInput = z.infer; export type ListWebhookDeliveriesOutput = z.infer;