import { z } from "zod"; /** * Frame metadata schema * Represents a timestamped work session snapshot with human-memorable reference points */ export declare const FrameSpendMetadata: z.ZodObject<{ prompts: z.ZodOptional; tokens_estimated: z.ZodOptional; }, z.core.$strip>; export type FrameSpendMetadata = z.infer; /** * Turn Cost Component schema * Represents the five components of Turn Cost from the governance thesis */ export declare const TurnCostComponent: z.ZodObject<{ latency: z.ZodNumber; contextReset: z.ZodNumber; renegotiation: z.ZodNumber; tokenBloat: z.ZodNumber; attentionSwitch: z.ZodNumber; }, z.core.$strip>; export type TurnCostComponent = z.infer; /** * Turn Cost Weights schema * Default weights from the governance thesis: λL + γC + ρR + τT + αA */ export declare const TurnCostWeights: z.ZodObject<{ lambda: z.ZodDefault; gamma: z.ZodDefault; rho: z.ZodDefault; tau: z.ZodDefault; alpha: z.ZodDefault; }, z.core.$strip>; export type TurnCostWeights = z.infer; /** * Turn Cost schema * Tracks coordination cost via the Turn Cost formula from governance thesis * Turn Cost = λL + γC + ρR + τT + αA */ export declare const TurnCost: z.ZodObject<{ components: z.ZodObject<{ latency: z.ZodNumber; contextReset: z.ZodNumber; renegotiation: z.ZodNumber; tokenBloat: z.ZodNumber; attentionSwitch: z.ZodNumber; }, z.core.$strip>; weights: z.ZodOptional; gamma: z.ZodDefault; rho: z.ZodDefault; tau: z.ZodDefault; alpha: z.ZodDefault; }, z.core.$strip>>; weightedScore: z.ZodOptional; sessionId: z.ZodOptional; timestamp: z.ZodOptional; }, z.core.$strip>; export type TurnCost = z.infer; export declare const FrameStatusSnapshot: z.ZodObject<{ next_action: z.ZodString; blockers: z.ZodOptional>; merge_blockers: z.ZodOptional>; tests_failing: z.ZodOptional>; }, z.core.$strip>; export type FrameStatusSnapshot = z.infer; /** * Capability tier classification schema * Represents the complexity level of a task based on governance model */ export declare const CapabilityTier: z.ZodEnum<{ senior: "senior"; mid: "mid"; junior: "junior"; }>; export type CapabilityTier = z.infer; /** * Task complexity metadata schema * Tracks tier assignment, model allocation, and escalation details */ export declare const TaskComplexity: z.ZodObject<{ tier: z.ZodEnum<{ senior: "senior"; mid: "mid"; junior: "junior"; }>; assignedModel: z.ZodOptional; actualModel: z.ZodOptional; escalated: z.ZodOptional; escalationReason: z.ZodOptional; retryCount: z.ZodOptional; tierMismatch: z.ZodOptional; }, z.core.$strip>; export type TaskComplexity = z.infer; export declare const Frame: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; branch: z.ZodString; jira: z.ZodOptional; module_scope: z.ZodArray; summary_caption: z.ZodString; reference_point: z.ZodString; status_snapshot: z.ZodObject<{ next_action: z.ZodString; blockers: z.ZodOptional>; merge_blockers: z.ZodOptional>; tests_failing: z.ZodOptional>; }, z.core.$strip>; keywords: z.ZodOptional>; atlas_frame_id: z.ZodOptional; feature_flags: z.ZodOptional>; permissions: z.ZodOptional>; runId: z.ZodOptional; planHash: z.ZodOptional; spend: z.ZodOptional; tokens_estimated: z.ZodOptional; }, z.core.$strip>>; userId: z.ZodOptional; executorRole: z.ZodOptional; toolCalls: z.ZodOptional>; guardrailProfile: z.ZodOptional; turnCost: z.ZodOptional; weights: z.ZodOptional; gamma: z.ZodDefault; rho: z.ZodDefault; tau: z.ZodDefault; alpha: z.ZodDefault; }, z.core.$strip>>; weightedScore: z.ZodOptional; sessionId: z.ZodOptional; timestamp: z.ZodOptional; }, z.core.$strip>>; capabilityTier: z.ZodOptional>; taskComplexity: z.ZodOptional; assignedModel: z.ZodOptional; actualModel: z.ZodOptional; escalated: z.ZodOptional; escalationReason: z.ZodOptional; retryCount: z.ZodOptional; tierMismatch: z.ZodOptional; }, z.core.$strip>>; superseded_by: z.ZodOptional; merged_from: z.ZodOptional>; contradiction_resolution: z.ZodOptional; contradicts_frame_id: z.ZodString; scope: z.ZodOptional; note: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type Frame = z.infer; /** * Frame schema version constant * v1: Initial schema (pre-0.4.0) * v2: Added runId, planHash, spend fields for execution provenance (0.4.0) * v3: Added executorRole, toolCalls, guardrailProfile for LexRunner (0.5.0) * v4: Added turnCost, capabilityTier, taskComplexity for governance model (2.0.0) * v5: Added superseded_by, merged_from for deduplication (2.2.0) * v6: Added contradiction_resolution for contradiction detection (2.3.0) */ export declare const FRAME_SCHEMA_VERSION = 6; /** * Frame search query interface */ export interface FrameSearchQuery { reference_point?: string; jira?: string; branch?: string; module_scope?: string[]; since?: string; limit?: number; } /** * Frame search result */ export interface FrameSearchResult { frames: Frame[]; total: number; }