import type { DomainProfile } from '../core/domain.js'; import type { PipelineResult } from '../core/types.js'; /** Identifiers the caller sent, used when triage did not extract them. */ export interface InboundRequestIds { orderId?: string; resourceId?: string; itemId?: string; } export type InboundStatus = 'auto_resolved' | 'escalated_with_proposed_action' | 'escalated_to_support'; /** * The POST /api/inbound response for a processed complaint. * - auto_resolved: an action executed and settled the complaint. * - escalated_with_proposed_action: a supervisor must approve the attached action. * - escalated_to_support: nothing was settled automatically (e.g. the guard blocked the claim); a person * follows up on the support ticket in `ticketId`. */ export declare function buildInboundResponse(result: PipelineResult, profile: DomainProfile, request: InboundRequestIds): { success: boolean; status: InboundStatus; result: { complaintId: string; intent: string; category: string; urgency: import("../core/types.js").TriageSeverity; sentiment: import("../core/types.js").TriageSentiment; response: string; executedActions: import("../core/types.js").ResolutionAction[]; }; proposedAction: { actionId: string; type: import("../core/types.js").ResolutionActionType; amount: number | undefined; currency: string; reason: string; resourceId: string | undefined; itemId: string | undefined; orderId: string | undefined; requiresSupervisorReview: boolean; autoExecutable: boolean; } | { type: import("../core/types.js").ResolutionActionType; amount: number | undefined; currency: string; reason: string; autoExecutable: boolean; actionId?: undefined; resourceId?: undefined; itemId?: undefined; orderId?: undefined; requiresSupervisorReview?: undefined; }; ticketId: string; autoResolved: boolean; }; //# sourceMappingURL=inbound.d.ts.map