import { spawn } from "node:child_process"; import type { GoalState } from "../domain/types.js"; import type { GoalStoreTransitionReason } from "../persistence/store.js"; export type GoalNotifyReason = GoalStoreTransitionReason | "rejected"; export interface GoalNotifyOptions { spawn?: typeof spawn; } export declare function formatGoalNotifyCommand(template: string, goalID: string, reason: GoalNotifyReason): string; export declare function notifyGoal(directory: string, goal: Pick, reason: GoalNotifyReason, options?: GoalNotifyOptions): void; export declare function createGoalTransitionNotifier(directory: string, options?: GoalNotifyOptions): (goal: GoalState, reason: GoalStoreTransitionReason) => void; export declare function completionNotificationReason(goal: GoalState, audit: { ok: boolean; }): GoalNotifyReason | undefined; //# sourceMappingURL=notify.d.ts.map