import { type GitOpts } from "../utils/git.js"; export interface DiffEntry { status: string; file: string; } export interface SubmoduleDiff { name: string; pinned_commit: string | null; current_commit: string | null; is_dev_mode: boolean; ahead_count: number; behind_count: number; changed_files: DiffEntry[]; uncommitted_changes: string[]; commit_log: string[]; } export interface DiffCoreResult { parent_repo: string; submodules: SubmoduleDiff[]; } /** * Show what changed in crosspad-core and/or crosspad-gui relative to the * pinned submodule commit. Essential for dev-mode workflows where you're * editing shared repos but haven't committed/pinned yet. * * Submodule paths are resolved dynamically from .gitmodules (handles both * `crosspad-core` and `lib/crosspad-core` layouts). */ export declare function crosspadDiffCore(submodule?: "crosspad-core" | "crosspad-gui" | "both", parent?: "crosspad-pc" | "platform-idf", opts?: GitOpts): Promise;