/** * Compliance Validator Service * * Validates session close compliance based on close type. * * Standard close requires: * - task_completion object with timestamps proving each step was done * - All 6 closing questions answered * - human_corrections field present (even if empty string) * - Timestamps in logical order * - Minimum 3-second gap between human_asked_at and human_response_at * * Quick close has minimal requirements. * Autonomous close has agent-specific requirements. */ import type { SessionCloseParams, CloseCompliance, AgentIdentity } from "../types/index.js"; export interface ValidationResult { valid: boolean; errors: string[]; warnings: string[]; } /** * Validate session close parameters based on close type */ export declare function validateSessionClose(params: SessionCloseParams): ValidationResult; /** * Build close_compliance object from validated params */ export declare function buildCloseCompliance(params: SessionCloseParams, agentIdentity: AgentIdentity, learningsCount: number): CloseCompliance; //# sourceMappingURL=compliance-validator.d.ts.map