import { B as BaseClient, R as RequestOptions } from '../client-ePzhQKp9.mjs'; import { U as UUID, T as Timestamp } from '../types-B4Ezqo7V.mjs'; /** * Decision and Label type definitions for the Decisions module. */ type DecisionType = '$block' | '$approve' | '$manual_review'; type DecisionSource = 'automated' | 'manual' | 'rule_engine' | 'ml_model'; type DecisionCategory = 'registration' | 'login' | 'transaction' | 'account' | 'payment'; interface Decision { id: UUID; customer_id: string; decision_type: DecisionType; category: DecisionCategory; source: DecisionSource; risk_score?: number; reasons?: string[]; metadata?: Record; created_at: Timestamp; updated_at: Timestamp; } interface RecordDecisionRequest { customer_id: string; decision_type: DecisionType; category: DecisionCategory; source: DecisionSource; risk_score?: number; reasons?: string[]; metadata?: Record; } interface DecisionFilters { category?: DecisionCategory; decision_type?: DecisionType; source?: DecisionSource; from_date?: string; to_date?: string; page?: number; page_size?: number; } interface DecisionListResponse { data: Decision[]; total: number; page: number; page_size: number; total_pages: number; } type LabelType = '$fraud' | '$legitimate' | '$chargeback' | '$abuse' | '$account_takeover' | '$money_laundering'; interface Label { id: UUID; customer_id: string; label_type: LabelType; reasons?: string[]; metadata?: Record; created_at: Timestamp; updated_at: Timestamp; } interface ApplyLabelRequest { customer_id: string; label_type: LabelType; reasons?: string[]; metadata?: Record; } interface LabelListResponse { data: Label[]; total: number; } /** * Decisions and Labels API client. */ declare class DecisionsClient extends BaseClient { /** * Record a new decision for a customer. */ recordDecision(request: RecordDecisionRequest, requestOptions?: RequestOptions): Promise; /** * Get decisions for a customer. */ getDecisions(customerId: string, filters?: DecisionFilters, requestOptions?: RequestOptions): Promise; /** * Get a specific decision by ID. */ getDecision(decisionId: string, requestOptions?: RequestOptions): Promise; /** * Apply a label to a customer. */ applyLabel(request: ApplyLabelRequest, requestOptions?: RequestOptions): Promise