import type { GitMetadata } from '@lynx-js/debug-metadata'; /** * Capture git state for `cwd`. Returns `null` when `cwd` is not inside * a git worktree (or git is unavailable), in which case the caller * should omit the `meta.git` field entirely. */ export declare function collectGitMetadata(cwd: string): GitMetadata | null;