import type { ExecutionExportOptions, WorkflowExecution } from '@hotmeshio/hotmesh/build/types/exporter'; import type { LTExportOptions, LTWorkflowExport } from '../../types'; import type { JobListParams, JobListResult } from './types'; /** * Export the full workflow state for a given workflow (raw HotMesh format). * * Delegates to the HotMesh Durable `handle.export()` method and * normalises the result into an `LTWorkflowExport`. */ export declare function exportWorkflow(workflowId: string, taskQueue: string, workflowName: string, options?: LTExportOptions): Promise; /** * Return only the status semaphore for a workflow. * 0 = complete, negative = interrupted. */ export declare function getWorkflowStatus(workflowId: string, taskQueue: string, workflowName: string): Promise<{ workflow_id: string; status: number; }>; /** * Export workflow state as a structured execution event history. * * Delegates to HotMesh's native `handle.exportExecution()` which produces * typed events with ISO timestamps, durations, event cross-references, * system/user classification, and a summary. */ export declare function exportWorkflowExecution(workflowId: string, taskQueue: string, workflowName: string, options?: ExecutionExportOptions): Promise; /** * Return the current job state of a workflow. * If the workflow is complete this is also the output. */ export declare function getWorkflowState(workflowId: string, taskQueue: string, workflowName: string): Promise<{ workflow_id: string; state: Record; }>; /** * List workflow jobs from {schema}.jobs where entity IS NOT NULL. * Returns paginated results sorted by active first, then created_at DESC. */ export declare function listJobs(app_id: string, params: JobListParams): Promise;