/** * Agent-facing git-stash context (report-only policy). * * The runner stashes dirty repos BEFORE the harness starts, so the agent's * working tree never shows pre-existing changes. This module turns the pre-run * stash results + orphaned-stash detections into a markdown block the caller * appends to the task brief/prompt, so the agent can: * - see what was set aside and where, * - decide whether it relates to the current task, * - restore it non-destructively (`git stash apply`) when it does, * - never lose it (nothing is popped or dropped automatically). * * Pure formatter - never mutates git. */ import type { OrphanStash, StashResult } from './git-runner'; export declare function formatLocalGitState(orphans?: OrphanStash[], preRunStashes?: StashResult[]): string;