import { type CreateOutboundWebhookEventInput, type OutboundWebhookStoreOptions } from "./outbound-webhooks.js"; export interface SuccessfulOperationLifecycleInput { executionId: string; operationId: string; operationInput: Readonly>; operationOutput?: unknown; occurredAt?: string; } export interface EnqueueSuccessfulOperationLifecycleResult { projected: number; matchedEndpoints: number; queuedDeliveries: number; duplicateDeliveries: number; eventIds: readonly string[]; } export declare function projectSuccessfulOperationLifecycleEvents(input: SuccessfulOperationLifecycleInput): readonly CreateOutboundWebhookEventInput[]; /** * Best-effort callers can safely retry this projection: event identifiers are * deterministic within one audited execution and each endpoint has a unique * event/destination constraint in both persistence implementations. */ export declare function enqueueSuccessfulOperationLifecycleEvents(input: SuccessfulOperationLifecycleInput, store?: OutboundWebhookStoreOptions): Promise;