import { type JsonObject, type SurfaceFamily } from "./ultragoal-runtime"; export declare function pngCrc32(bytes: Buffer): number; export declare function parsePngDimensions(bytes: Buffer): { width: number; height: number; headerBytes: number; sampleBytes?: Buffer; } | null; export declare function parseJpegDimensions(bytes: Buffer): { width: number; height: number; headerBytes: number; sampleBytes?: Buffer; } | null; export declare function validateStructuralArtifact(cwd: string, row: JsonObject, fieldName: string, options: { surfaceFamily: SurfaceFamily; live: boolean; }): Promise; export declare function isAllowedGitReplayCommand(args: readonly string[]): boolean; export declare function resolveCliReplayCommand(command: string[], options?: { compiled?: boolean; }): string[]; export declare function readCliReplayRecord(cwd: string, row: JsonObject, fieldName: string): Promise; export interface ReplayProcessHandle { readonly exited: Promise; readonly pid?: number; kill(signal?: number | NodeJS.Signals): void; } export declare function waitForReplayProcessWithTimeout(handle: ReplayProcessHandle, timeoutMs: number, graceMs?: number): Promise; export declare function validateReplayExemptFallback(cwd: string, record: JsonObject, fieldName: string, artifactRefs: Map, options: { surfaceFamily: SurfaceFamily; live: boolean; }): Promise; export declare function validateCliReplay(cwd: string, row: JsonObject, fieldName: string, options: { live: boolean; }): Promise; export declare function validateLiveSurfaceProofPresence(cwd: string, family: SurfaceFamily, artifactIds: string[], artifactRefs: Map): Promise; export declare function validateSurfaceStructuralRequirement(cwd: string, family: SurfaceFamily, artifactIds: string[], artifactRefs: Map, fieldName: string): Promise; export declare function validateArtifactProof(cwd: string, row: JsonObject, fieldName: string, options: { surfaceFamily: SurfaceFamily; live: boolean; }): Promise;