/**
 * @bastani/atomic — SDK barrel.
 *
 * Public API for authoring and running workflows. Composition primitives
 * are pure functions; consumers wire them into their own CLI shape (via
 * Commander, citty, yargs, an OpenTUI app, etc.). The SDK itself ships
 * no opinionated CLI wrapper.
 */
export { MissingDependencyError, WorkflowNotCompiledError, InvalidWorkflowError, SessionNotFoundError, } from "./errors.ts";
export { defineWorkflow, WorkflowBuilder } from "./define-workflow.ts";
export { createRegistry } from "./registry.ts";
export type { Registry } from "./registry.ts";
export type { AgentType, Transcript, SavedMessage, SaveTranscript, SessionContext, SessionRef, SessionHandle, SessionRunOptions, WorkflowContext, WorkflowOptions, WorkflowDefinition, WorkflowInput, WorkflowInputType, StageClientOptions, StageSessionOptions, ProviderClient, ProviderSession, } from "./types.ts";
export { getName, getDescription, getAgent, getInputSchema, getSource, getMinSDKVersion, } from "./primitives/metadata.ts";
import type { AgentType, Registry, WorkflowDefinition } from "./types.ts";
/** Snapshot every workflow registered in `registry`. */
export declare function listWorkflows(registry: Registry): readonly WorkflowDefinition[];
/** Resolve a workflow by `(name, agent)`; returns `undefined` when not found. */
export declare function getWorkflow(registry: Registry, agent: AgentType, name: string): WorkflowDefinition | undefined;
export { validateInputs } from "./primitives/inputs.ts";
export type { ResolvedInputs } from "./primitives/inputs.ts";
export { runWorkflow } from "./primitives/run.ts";
export type { RunWorkflowOptions, RunWorkflowResult, } from "./primitives/run.ts";
export { listSessions, getSession, stopSession, attachSession, detachSession, nextWindow, previousWindow, gotoOrchestrator, getSessionStatus, getSessionTranscript, } from "./primitives/sessions.ts";
export type { SessionInfo, SessionScope, StatusSnapshot, ListSessionsOptions, SessionPrimitiveDeps, } from "./primitives/sessions.ts";
//# sourceMappingURL=index.d.ts.map