import type { Goal } from './schema.js'; import { type GoalNotificationPolicy } from './notifications.js'; import type { Language } from '../../core/models/types.js'; export declare function getGoalTaskSource(cwd: string, goal: Goal, taskName: string): Promise; export declare function assertReviewedGoalSha(cwd: string, branch: string, expectedSha: string, signal: AbortSignal | undefined): Promise; export declare function integrateGoalTask(cwd: string, goalId: string, taskName: string, expectedSha: string, signal: AbortSignal | undefined, notifications: GoalNotificationPolicy, language: Language): Promise>; export declare function completeGoal(cwd: string, goalId: string, expectedSha: string, summary: string, mainMerge: 'auto' | 'approve', signal: AbortSignal | undefined, notifications: GoalNotificationPolicy, humanChecks: string | undefined, language: Language): Promise>; export declare function reopenGoal(cwd: string, goalId: string, reason: string, signal: AbortSignal | undefined): Promise>; export declare function checkGoalCompletion(cwd: string, goalId: string, signal: AbortSignal | undefined, notifications: GoalNotificationPolicy): Promise>; //# sourceMappingURL=integration.d.ts.map