import type { Goal } from '../../infra/goals/schema.js'; import type { ManagerEvent } from '../../infra/goals/events.js'; import type { TaskState } from '../../infra/task/types.js'; export declare function buildManagerGoalSummary(cwd: string, goal: Goal, tasks: readonly TaskState[]): { id: string; objective: string; status: "completed" | "awaiting_merge" | "created"; executionStatus: "aborted" | "active" | "paused"; branch: string; integrationBranch: string; taskCount: number; taskStates: Partial>; workUnitCount: number; pendingQuestionCount: number; questions: { answer?: { text: string; source: "slack" | "tui"; answeredAt: string; decision?: "allow" | "deny" | undefined; report?: "completed" | "unable" | undefined; scope?: "project" | "global" | "once" | "goal" | "workspace" | undefined; } | undefined; recommendation?: string | undefined; options?: string[] | undefined; omissions: { path: string; totalBytes: number; }[]; truncated?: boolean | undefined; body: string; optionCount: number; status: "pending" | "answered" | "withdrawn"; id: string; recipient: "human"; operation?: { toolName: string; args: string; cwd: string; argsDigest: string; } | undefined; targetSha?: string | undefined; permissionProposal?: string | undefined; createdAt?: string | undefined; withdrawalReason?: string | undefined; withdrawnAt?: string | undefined; consumedAt?: string | undefined; kind?: import("zod").infer["kind"]; }[]; workLogCount: number; workLog: { summary: string; summaryTotalBytes: number; id: string; recordedAt: string; kind?: "patrol" | undefined; }[]; references: { goal: string; }; truncated: boolean; retrieval: string; }; export declare function buildGoalMemory(repositories: readonly { repositoryDirectory: string; goals: ReturnType[] | undefined; goalCount?: number; diagnostics: { goalId?: string; message: string; }[]; }[]): string; export declare function buildGoalTurnContext(cwd: string, goal: Goal, event: ManagerEvent, tasks: readonly TaskState[]): string; //# sourceMappingURL=turnContext.d.ts.map