import type { Goal, GoalQuestion } from '../../infra/goals/schema.js'; export declare function completionSummary(completion: Goal['completion']): { truncated?: boolean | undefined; omissions?: { path: string; totalBytes: number; }[] | undefined; humanChecks?: string | undefined; summary: string; goalBranch: string; goalSha: string; targetBranch: string; changeSummary: { filesChanged: number; additions: number; deletions: number; files: { path: string; additions: number | null; deletions: number | null; }[]; truncated: boolean; totalsTruncated: boolean; }; instructions: string[]; reason?: string | undefined; worktrees?: string[] | undefined; targetSha?: string | undefined; } | undefined; export declare function questionSummary(question: GoalQuestion): { 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"]; }; export declare function goalSummary(goal: Goal): { objective: string; acceptanceCriteriaVersion: 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"]; }[]; pendingQuestionCount: number; questionCount: number; workLog: { summary: string; summaryTotalBytes: number; id: string; recordedAt: string; kind?: "patrol" | undefined; }[]; workLogCount: number; notificationCount: number; truncated: boolean; omissions: { objective: { totalBytes: number; }; questions: { totalCount: number; }; workLog: { totalCount: number; }; notifications: { totalCount: number; returnedCount: number; }; acceptanceCriteria: { totalCount: number; returnedCount: number; }; constraints: { totalCount: number; returnedCount: number; }; outOfScope: { totalCount: number; returnedCount: number; }; }; retrieval: string; completion?: { truncated?: boolean | undefined; omissions?: { path: string; totalBytes: number; }[] | undefined; humanChecks?: string | undefined; summary: string; goalBranch: string; goalSha: string; targetBranch: string; changeSummary: { filesChanged: number; additions: number; deletions: number; files: { path: string; additions: number | null; deletions: number | null; }[]; truncated: boolean; totalsTruncated: boolean; }; instructions: string[]; reason?: string | undefined; worktrees?: string[] | undefined; targetSha?: string | undefined; } | undefined; pullRequest?: { number: number; url: string; } | undefined; id: string; status: "completed" | "awaiting_merge" | "created"; executionStatus: "aborted" | "active" | "paused"; branch: string; integrationBranch: string; }; export declare function goalWriteSummary(goal: Goal): { completion?: { truncated?: boolean | undefined; omissions?: { path: string; totalBytes: number; }[] | undefined; humanChecks?: string | undefined; summary: string; goalBranch: string; goalSha: string; targetBranch: string; changeSummary: { filesChanged: number; additions: number; deletions: number; files: { path: string; additions: number | null; deletions: number | null; }[]; truncated: boolean; totalsTruncated: boolean; }; instructions: string[]; reason?: string | undefined; worktrees?: string[] | undefined; targetSha?: string | undefined; } | undefined; pullRequest?: { number: number; url: string; } | undefined; id: string; status: "completed" | "awaiting_merge" | "created"; executionStatus: "aborted" | "active" | "paused"; branch: string; integrationBranch: string; }; export declare function integrationSummary(result: Record): { completion?: { truncated?: boolean | undefined; omissions?: { path: string; totalBytes: number; }[] | undefined; humanChecks?: string | undefined; summary: string; goalBranch: string; goalSha: string; targetBranch: string; changeSummary: { filesChanged: number; additions: number; deletions: number; files: { path: string; additions: number | null; deletions: number | null; }[]; truncated: boolean; totalsTruncated: boolean; }; instructions: string[]; reason?: string | undefined; worktrees?: string[] | undefined; targetSha?: string | undefined; } | undefined; goal?: { completion?: { truncated?: boolean | undefined; omissions?: { path: string; totalBytes: number; }[] | undefined; humanChecks?: string | undefined; summary: string; goalBranch: string; goalSha: string; targetBranch: string; changeSummary: { filesChanged: number; additions: number; deletions: number; files: { path: string; additions: number | null; deletions: number | null; }[]; truncated: boolean; totalsTruncated: boolean; }; instructions: string[]; reason?: string | undefined; worktrees?: string[] | undefined; targetSha?: string | undefined; } | undefined; pullRequest?: { number: number; url: string; } | undefined; id: string; status: "completed" | "awaiting_merge" | "created"; executionStatus: "aborted" | "active" | "paused"; branch: string; integrationBranch: string; } | undefined; }; export declare function goalTellSummary(goalId: string, taskName: string, runSlug: string, instructionId: number, workLogEntryId: string): { goalId: string; taskName: string; runSlug: string; instructionId: number; workLogEntryId: string; }; export declare function selectGoalValue(root: unknown, path: string, recordId?: string): unknown; export declare function goalValuePage(value: unknown, input: { textOffset?: number; maxBytes?: number; }): { content: string; totalBytes: number; offset: number; returnedBytes: number; direction: "backward" | "forward"; truncated: boolean; nextOffset: number | null; } | { value: unknown; }; //# sourceMappingURL=goalResponse.d.ts.map