import type { ProjectSchemaJSON, PropertySchema, ShapeJSON, Workflow, WorkflowMap, WorkflowStep } from './project-schema/index.ts';
export declare const defaultWorkflow: Workflow;
export declare function getWorkflow(projectSchema: ProjectSchemaJSON, shapeId: string): Workflow;
export type StepContext = {
    index: number;
    step: WorkflowStep;
};
export declare function statusFallback(workflow: Workflow, enabled: boolean): WorkflowStep;
export declare function findWorkflowStep(workflow: Workflow, keyOrName: string): StepContext | undefined;
export declare function getStatusField(workflows: WorkflowMap, shape: Pick<ShapeJSON, 'workflow'>): PropertySchema;
export type WorkflowComparisonOperatorKey = 'lt' | 'lte' | 'gte' | 'gt' | 'eq' | 'in';
export declare function getStepRange(steps: WorkflowStep[], index: number, op: WorkflowComparisonOperatorKey): WorkflowStep[];
export declare function getWorkflowStepKeys(workflow: Workflow, stepKey: string, op: WorkflowComparisonOperatorKey): string[];
export declare function getLiveStepKeys(workflow: Workflow): string[];
