/**
 * Lobster Typed Workflow Engine
 * DAG-based workflow definition, validation, and execution ordering.
 */
export interface LobsterStep {
    id: string;
    name: string;
    command: string;
    inputs?: Record<string, string>;
    outputs?: string[];
    dependsOn?: string[];
    timeout?: number;
}
export interface LobsterWorkflow {
    name: string;
    version: string;
    steps: LobsterStep[];
    variables?: Record<string, string>;
}
export interface StepResult {
    stepId: string;
    status: 'success' | 'failed' | 'skipped';
    stdout: string;
    exitCode: number;
    duration: number;
}
export declare class LobsterEngine {
    private static instance;
    static getInstance(): LobsterEngine;
    static resetInstance(): void;
    parseWorkflow(yaml: string): LobsterWorkflow;
    validateWorkflow(workflow: LobsterWorkflow): {
        valid: boolean;
        errors: string[];
    };
    resolveVariables(template: string, context: Record<string, string>): string;
    getExecutionOrder(workflow: LobsterWorkflow): string[];
    generateResumeToken(completedSteps: string[]): string;
    parseResumeToken(token: string): string[];
    getWorkflowStatus(results: StepResult[]): 'success' | 'failed' | 'partial';
    private hasCycle;
    private parseSimpleYaml;
}
