import { CliOutputMode } from "../shared/outfitter-fhahf9f3.js"; import { Result } from "@outfitter/contracts"; interface SurfaceMapFormatCheckResult { readonly actual: string; readonly expected: string; readonly filePath: string; readonly ok: boolean; } interface CheckSurfaceMapFormatOptions { readonly cwd: string; } interface CheckSurfaceMapFormatResult { readonly filePath: string; readonly format: SurfaceMapFormatCheckResult | null; readonly ok: boolean; readonly reason: "format-drift" | "missing-file" | "ok"; } declare class CheckSurfaceMapFormatError extends Error { readonly _tag: "CheckSurfaceMapFormatError"; constructor(message: string); } declare function canonicalizeJson(content: string, filePath: string): string; declare function checkSurfaceMapFormat(content: string, filePath: string): SurfaceMapFormatCheckResult; declare function runCheckSurfaceMapFormat(options: CheckSurfaceMapFormatOptions): Promise>; declare function printCheckSurfaceMapFormatResult(result: CheckSurfaceMapFormatResult, options?: { mode?: CliOutputMode; }): Promise; declare function runCheckSurfaceMapFormatFromArgv(argv: readonly string[]): Promise; export { runCheckSurfaceMapFormatFromArgv, runCheckSurfaceMapFormat, printCheckSurfaceMapFormatResult, checkSurfaceMapFormat, canonicalizeJson, SurfaceMapFormatCheckResult, CheckSurfaceMapFormatResult, CheckSurfaceMapFormatOptions, CheckSurfaceMapFormatError };