import type { GitClient } from "../ports/git.js"; import type { JsonObject } from "../contracts/json-object.js"; export interface ExportChange { readonly symbol: string; readonly filePath: string; readonly kind: string; readonly changeType: "added" | "removed" | "signature_changed"; readonly signature?: string | undefined; readonly previousSignature?: string | undefined; } export interface ExportSurfaceDiffResult { readonly base: string; readonly head: string; readonly added: readonly ExportChange[]; readonly removed: readonly ExportChange[]; readonly changed: readonly ExportChange[]; readonly semverImpact: "major" | "minor" | "patch" | "none"; readonly summary: string; } export interface ExportSurfaceDiffOptions { readonly cwd: string; readonly git: GitClient; readonly base?: string | undefined; readonly head?: string | undefined; } /** * Compute the export surface diff between two git refs. * * Extracts outlines at both refs, filters to exported symbols, and * classifies additions, removals, and signature changes. Derives * the semver impact from the change set. */ export declare function exportSurfaceDiff(opts: ExportSurfaceDiffOptions): Promise; /** Serialize an ExportSurfaceDiffResult for MCP / CLI output. */ export declare function exportSurfaceDiffToJson(result: ExportSurfaceDiffResult): JsonObject; //# sourceMappingURL=export-surface-diff.d.ts.map