/** * Customer Service Domain Adapter — skeleton with Zendesk/Salesforce outcome signal types. * This is a scaffolding adapter demonstrating how non-code domains plug in. */ import type { IDomainAdapter, IScoringInput, IScoringConfig, IReliabilityScore } from '../core/types.js'; /** Outcome signal types for customer service domain. */ export interface ICustomerServiceOutcome { /** Was the ticket resolved without re-open? */ resolved?: boolean; /** CSAT score (1-5) */ csatScore?: number; /** Was the ticket escalated to a human? */ escalated?: boolean; /** Time to resolution in minutes */ resolutionTimeMinutes?: number; /** Was the ticket re-opened within 7 days? */ reopened?: boolean; } /** Supported CRM platforms. */ export type CRMPlatform = 'zendesk' | 'salesforce' | 'intercom' | 'freshdesk'; export declare class CustomerServiceDomainAdapter implements IDomainAdapter { readonly domain = "customer-service"; readonly name = "Customer Service Reliability"; validate(input: IScoringInput): { valid: boolean; errors: string[]; }; score(input: IScoringInput, _config: IScoringConfig): Promise; private extractFactors; private computeScore; private generateRecommendations; } //# sourceMappingURL=customer-service.d.ts.map