/**
 * Typed error classes for the SDK.
 *
 * The SDK throws these instead of calling process.exit() or console.error().
 * The CLI layer catches them and maps to user-visible output.
 */
/** Thrown when a required system dependency is not found on PATH. */
export declare class MissingDependencyError extends Error {
    readonly dependency: "tmux" | "psmux" | "bun";
    constructor(dependency: "tmux" | "psmux" | "bun");
}
/** Thrown when a workflow file is defined but missing .compile(). */
export declare class WorkflowNotCompiledError extends Error {
    readonly path: string;
    constructor(path: string);
}
/** Thrown when a workflow file does not export a valid WorkflowDefinition. */
export declare class InvalidWorkflowError extends Error {
    readonly path: string;
    constructor(path: string);
}
/**
 * Thrown when a workflow declares a `minSDKVersion` newer than the
 * bundled CLI. Carries both versions so the CLI can render an
 * actionable "update atomic or re-save the workflow" hint rather than
 * a generic load error.
 */
export declare class IncompatibleSDKError extends Error {
    readonly path: string;
    readonly requiredVersion: string;
    readonly currentVersion: string;
    constructor(path: string, requiredVersion: string, currentVersion: string);
}
/** Extract a human-readable message from an unknown thrown value. */
export declare function errorMessage(error: unknown): string;
//# sourceMappingURL=errors.d.ts.map