import type { WorkflowResumePoint } from '../../models/types.js';
export interface RunMeta {
    task: string;
    workflow: string;
    runSlug: string;
    runRoot: string;
    reportDirectory: string;
    contextDirectory: string;
    logsDirectory: string;
    status: 'running' | 'completed' | 'aborted' | 'failed';
    startTime: string;
    endTime?: string;
    iterations?: number;
    currentStep?: string;
    currentIteration?: number;
    phase?: 1 | 2 | 3;
    updatedAt?: string;
    resumePoint?: WorkflowResumePoint;
    sourceRunSlug?: string;
    resumeMode?: 'requeue' | 'retry' | 'instruct';
}
export type RunMetaWarningHandler = (warning: string) => void;
export declare function readRunMeta(metaPath: string, onWarning?: RunMetaWarningHandler): RunMeta | null;
export declare function readRunMetaBySlug(cwd: string, slug: string, onWarning?: RunMetaWarningHandler): RunMeta | null;
export declare function findRunningStepByRunSlug(cwd: string, runSlug: string, onWarning?: RunMetaWarningHandler): string | undefined;
//# sourceMappingURL=run-meta.d.ts.map