import { INTEGRATION_DURABLE_DISPATCH_ENV, INTEGRATION_DURABLE_DISPATCH_SCOPES_ENV, INTEGRATION_PROCESS_TASK_PATH, INTEGRATION_RETRY_SWEEP_PATH, INTEGRATION_RETRY_SWEEP_TOKEN_SUBJECT, isIntegrationDurableDispatchConfigured } from "./integration-durable-dispatch-config.js"; export { INTEGRATION_DURABLE_DISPATCH_ENV, INTEGRATION_DURABLE_DISPATCH_SCOPES_ENV, INTEGRATION_PROCESS_TASK_PATH, INTEGRATION_RETRY_SWEEP_PATH, INTEGRATION_RETRY_SWEEP_TOKEN_SUBJECT, isIntegrationDurableDispatchConfigured, }; export type IntegrationDispatchOutcome = "background-acknowledged" | "portable-unconfirmed" | "failed"; export declare const INTEGRATION_CAMPAIGN_PROCESSOR_FIELD = "__integrationCampaignContinuation"; export interface IntegrationDispatchTaskScope { platform: string; externalThreadId: string; platformContext?: Record; } export interface IntegrationDurableDispatchScope { platform: string; value: string; } export declare function integrationDispatchScopeValue(task: IntegrationDispatchTaskScope): string | null; export declare function configuredIntegrationDurableDispatchScopes(): IntegrationDurableDispatchScope[] | null; export declare function isIntegrationDurableDispatchEnabledForTask(task: IntegrationDispatchTaskScope): boolean; export declare function dispatchPendingIntegrationTask(input: { taskId: string; task: IntegrationDispatchTaskScope; event?: unknown; baseUrl?: string; portableSettleMs?: number; campaignContinuation?: boolean; allowPortableConfirmedReceiptReconciliation?: boolean; }): Promise; //# sourceMappingURL=integration-durable-dispatch.d.ts.map