import { Autonomous } from './runtime/autonomous';
import { type WorkflowStep } from './primitives/workflow-step';
export { z } from '@botpress/sdk';
export { Cognitive } from '@botpress/cognitive';
export { Zai } from '@botpress/zai';
export { context } from './runtime/index';
export { client } from './runtime/client';
export { WellKnownTags, WellKnownMetadata } from './constants';
export { Action, Knowledge, Conversation, Trigger, Table, Workflow, Primitives, DataSource, BaseConversationInstance, Reference, } from './primitives';
export { Chat } from './runtime/chat';
export { isWorkflowDataRequest } from './primitives/workflow-utils';
export { isWorkflowCallback, isEventOfType } from './utilities/events';
export type { TypedEvent } from './utilities/events';
export type { WorkflowCallbackEventType, WorkflowCallbackPayload } from './runtime/events';
export { Autonomous } from './runtime/autonomous';
export type Model = Autonomous.Model;
export * from './types';
export * from './errors';
export { actions } from './runtime/actions';
export { plugins } from './runtime/plugins';
export { bot, user } from './runtime/state';
export { configuration } from './runtime/configuration';
export { defineConfig } from './define-config';
export type { AgentConfig, EventDefinition } from './define-config';
export { adk } from './runtime/adk';
export type { ADK, Project, Integration } from './runtime/adk';
export type { ConversationDefinitions } from './_types/conversations';
export type { WorkflowDefinitions } from './_types/workflows';
export type { Triggers } from './_types/triggers';
export type { Events, EventName, EventPayload } from './_types/events';
export type { Channels, ChannelSpec } from './_types/channels';
export type { Integrations } from './_types/integrations';
export type { Plugins } from './_types/plugins';
export type { Dependencies } from './_types/dependencies';
/**
 * Workflow step function that works both inside and outside workflows.
 *
 * **Inside a workflow**: Provides automatic retry logic, state persistence, and resumability.
 * Steps are idempotent — if already executed, the cached result is returned immediately.
 *
 * **Outside a workflow**: Simply executes the function directly (no caching or retry).
 *
 * @example
 * ```typescript
 * import { step } from '@botpress/runtime'
 *
 * // Works in both workflow and non-workflow contexts
 * const data = await step("fetch-user", async () => {
 *   return await fetchUser(userId)
 * })
 * ```
 */
export declare const step: WorkflowStep;
//# sourceMappingURL=library.d.ts.map