import type { RunRecord } from "../domain.js"; import type { ProjectState } from "../store.js"; export interface ActionAvailabilityInput { run?: RunRecord; project?: ProjectState; projectRuns: RunRecord[]; pending: boolean; restriction?: string; } export declare function actionAvailability({ run, project, projectRuns, pending, restriction, }: ActionAvailabilityInput): { recoveryReason: string | undefined; actionReasons: { stop: string | undefined; retry: string | undefined; recover: string | undefined; }; available: { stop: boolean; retry: boolean; recover: boolean; }; };