import { ActivityOptions, UntypedActivities, getExternalWorkflowHandle, workflowInfo, continueAsNew, sleep, ActivityInterfaceFor, ChildWorkflowOptions, ChildWorkflowHandle, Workflow, Workflow as Agent, WorkflowResultType, uuid4, ApplicationFailure } from "@temporalio/workflow"; import { WorkflowLogger } from "@temporalio/workflow/lib/logs"; export declare const customLog: WorkflowLogger; export declare function addEngineIdPrefix(engineId: string, current: string): string; export declare function getEngineIdFromClient(): string; /** * Starts a child agent or workflow * @param child The workflow or agent to execute as a child. * @param childId The workflowId or agentId of the child. * @param input The input to pass to the child. * @param isAgent Whether the child is an agent. * @param taskQueue The task queue to use for the child. * @param options Advanced Temporal options. * @returns A promise that resolves to a ChildHandle for the started child. */ export declare function childStart({ child, childId, input, isAgent, taskQueue, options, }: { child: Agent | Workflow | string; childId: string; input?: unknown; isAgent: boolean; taskQueue?: string; options?: ChildWorkflowOptions; }): Promise>; /** * Executes a child agent or workflow. * @param child The workflow or agent to execute as a child. * @param childId The workflowId or agentId of the child. * @param input The input to pass to the child. * @param isAgent Whether the child is an agent. * @param taskQueue The task queue to use for the child. * @param options Advanced Temporal options. * @returns A promise that resolves to the result of the child. */ export declare function childExecute({ child, childId, input, isAgent, taskQueue, options, }: { child: Agent | Workflow | string; childId: string; input?: unknown; isAgent?: boolean; taskQueue?: string; options?: ChildWorkflowOptions; }): Promise>; /** * A single step within an agent or workflow. * @param options The function options to use. * @example * ```typescript * const function = step({ * taskQueue: "custom-queue" * startToCloseTimeout: "5 minutes", * }); * ``` * @returns A function interface used to invoke functions. */ export declare function step(options: ActivityOptions): ActivityInterfaceFor; export { customLog as log, getExternalWorkflowHandle, workflowInfo, continueAsNew, sleep, uuid4 as uuid, ApplicationFailure as WorkflowError };