import type { JsonRecord } from "./staged-package-verification-types.js"; export type CommandResult = { readonly output: string; readonly status: number; }; export type CommandRunner = (command: string, args: readonly string[], cwd: string) => CommandResult; export type TarballFacts = { readonly integrity: string; readonly sha1: string; readonly sha256: string; }; export declare function runStagedPackageCommand(command: string, args: readonly string[], cwd: string): CommandResult; export declare function isRegularBoundedFile(filePath: string, maxBytes: number): boolean; export declare function parseJsonRecord(text: string): JsonRecord | undefined; export declare function readJsonFact(filePath: string, schemaVersion: string): JsonRecord; export declare function readTarballFacts(tarballPath: string): TarballFacts | undefined;