import { promises as fs } from "node:fs"; import { createRequire } from "node:module"; import type { ParsedArgs } from "./types"; import type { StateCacheSnapshot } from "../../runtime/replay/stateCache"; import type { EffectAction, IterationMetadata } from "../../runtime/types"; import type { JsonRecord } from "../../storage/types"; type ActionSummary = { effectId: string; kind: string; label?: string; }; type LocalSdkDependencyOptions = { createRequireFn?: typeof createRequire; resolveSdkPackageDir?: () => string; fsImpl?: Pick; }; export declare function summarizeActions(actions: EffectAction[]): ActionSummary[]; export declare function logPendingActions(actions: EffectAction[], options?: { command?: string; includeHeader?: boolean; metadataParts?: string[]; }): ActionSummary[]; export declare function countActionsByKind(actions: EffectAction[]): Record; export declare function enrichIterationMetadata(metadata: IterationMetadata | undefined, pendingActions?: EffectAction[]): IterationMetadata | undefined; export declare function logSleepHints(command: string, actions: EffectAction[]): void; export declare function formatResolvedEntrypoint(importPath: string, exportName?: string): string; export declare function formatVerboseValue(value: unknown): string; export declare function allowSecretLogs(parsed: ParsedArgs): boolean; export declare function logVerbose(command: string, parsed: ParsedArgs, details: Record): void; export declare function isJsonRecord(value: unknown): value is JsonRecord; export declare function toRunRelativePosix(runDir: string, absolutePath?: string): string | undefined; export declare function normalizeArtifactRef(runDir: string, ref?: string | null): string | null; export declare function resolveArtifactAbsolutePath(runDir: string, ref?: string | null): string | null; export declare function defaultResultRef(effectId: string): string; export declare function formatEntrypointSpecifier(entrypoint: { importPath: string; exportName?: string; }): string; export declare function parseEntrypointSpecifier(specifier: string): { importPath: string; exportName?: string; }; export declare function ensureProcessLocalSdkDependency(importPath: string, options?: LocalSdkDependencyOptions): Promise; export declare function validateProcessEntrypoint(importPath: string, exportName?: string, options?: LocalSdkDependencyOptions): Promise; export declare function readInputsFile(filePath: string): Promise; export declare function readStdinUtf8(): Promise; export declare function resolveCommandRunDir(parsed: ParsedArgs): string; export type { StateCacheSnapshot }; //# sourceMappingURL=runSupport.d.ts.map