export interface UltragoalTeamContext { kind: 'leader_owned_ultragoal_context'; goalsPath: '.omx/ultragoal/goals.json'; ledgerPath: '.omx/ultragoal/ledger.jsonl'; activeGoalId: string; activeGoalTitle?: string; codexGoalMode: 'aggregate' | 'per_story'; checkpointPolicy: 'fresh_leader_get_goal_required'; } export interface UltragoalCheckpointGuidance { goal_id: string; goal_title?: string; codex_goal_mode: 'aggregate' | 'per_story'; goals_path: '.omx/ultragoal/goals.json'; ledger_path: '.omx/ultragoal/ledger.jsonl'; checkpoint_policy: 'fresh_leader_get_goal_required'; checkpoint_command_template: string; final_checkpoint_command_template: string; evidence_requirements: string[]; command_templates: { intermediate_story: string; final_story: string; per_story: string; completed_wrong_legacy_goal_blocker: string; }; } export declare function isSafeUltragoalGoalId(value: string): boolean; export declare function normalizeUltragoalTeamContext(value: unknown): UltragoalTeamContext | null; export declare function resolveLeaderOwnedUltragoalContext(cwd: string): Promise; export declare function writePersistedTeamUltragoalContext(teamName: string, cwd: string, context: UltragoalTeamContext | null | undefined, teamStateRoot?: string | null): Promise; export declare function readPersistedTeamUltragoalContext(teamName: string, cwd: string, teamStateRoot?: string | null): Promise; export declare function buildUltragoalCheckpointGuidance(context: UltragoalTeamContext): UltragoalCheckpointGuidance; export declare function renderLeaderOwnedUltragoalContextSection(context: UltragoalTeamContext | null | undefined): string | undefined; export declare function renderUltragoalCheckpointGuidanceText(context: UltragoalTeamContext | null | undefined): string[]; //# sourceMappingURL=ultragoal-context.d.ts.map