import { ID } from '../../commonStateTypes/common'; import { AdditionalChurnFactor, CompanyHealthMetric } from './companyHealthMetricState'; interface VerticalProductServicesPayload { is_enabled: boolean; product_service_key: string; } interface ChurnProbabilityReasonPayload { text: string; } interface CompanyRunwayPayload { runway_months: number | null; } interface LastEngagementPayload { attendees: string[] | null; cc: string[] | null; created_at: string; from: string | null; host_name: string | null; scheduled_at: string | null; subject: string | null; to: string[] | null; type: string; } export interface AdditionalChurnFactors { decreasing_churn_probability: AdditionalChurnFactor[]; increasing_churn_probability: AdditionalChurnFactor[]; } export interface CompanyHealthMetricPayload { additional_churn_factors: AdditionalChurnFactors; churn_probability_reasons: ChurnProbabilityReasonPayload[]; company_id: string; last_engagements: LastEngagementPayload[]; runway: CompanyRunwayPayload; updated_by_user_id: ID; vertical_product_services: VerticalProductServicesPayload[]; churn_probability_percentage?: number | null; company_engagement_metrics_update_time?: string | null; customer_last_dashboard_visit_time?: string | null; customer_satisfaction_score?: number | null; external_product_service_exposure?: { code: string | null; name: string | null; } | null; finops_engagement_frequency?: { code: string | null; name: string | null; } | null; net_promoter_score?: number | null; subscription_renewal_date?: string | null; subscription_start_date?: string | null; } export declare const toCompanyHealthMetrics: (payload: CompanyHealthMetricPayload) => CompanyHealthMetric; export {};