import type { ResolvedChxConfig } from '@chkit/core'; import type { BackfillEnvironment, BackfillPathSet, BackfillPlanState, BackfillRunState, BackfillStatusSummary, ReadPlanOutput } from './types.js'; export declare function hashId(input: string): string; export declare function nowIso(): string; export declare function randomPlanId(): string; export declare function computeEnvironmentFingerprint(clickhouse: { url: string; database?: string; } | undefined): BackfillEnvironment | undefined; export declare function ensureEnvironmentMatch(input: { plan: BackfillPlanState; clickhouse: { url: string; database?: string; } | undefined; forceEnvironment: boolean; }): void; export declare function computeBackfillStateDir(config: Pick, configPath: string, stateDir?: string): string; export declare function backfillPaths(stateDir: string, planId: string): BackfillPathSet; export declare function writeJson(filePath: string, value: unknown): Promise; export declare function readPlan(input: { planId: string; configPath: string; config: Pick; stateDir?: string; }): Promise; export declare function readRun(runPath: string): Promise; export declare function listPlanIds(plansDir: string): Promise; export declare function summarizeRunStatus(run: BackfillRunState, runPath: string, plan: BackfillPlanState): BackfillStatusSummary; //# sourceMappingURL=state.d.ts.map