import type { JSON_ROOT } from "../actions/types";
import type { OutputFormat } from "./types";
declare function readStdinUtf8Sync(): string;
declare function loadSnapshotForCli(filePath: string): JSON_ROOT;
declare function readJsonFile(filePath: string): unknown;
declare function writeStdout(obj: unknown, format: OutputFormat): void;
declare function writeResult(outFile: string | undefined, data: unknown, format: OutputFormat): void;
declare function writeSnapshotFile(outFile: string, snapshot: unknown): void;
export { readJsonFile, readStdinUtf8Sync, loadSnapshotForCli, writeStdout, writeResult, writeSnapshotFile };
