import type { LTApiResult } from '../types/sdk'; /** * List distinct entity types for an app (HotMesh namespace). * * @param input.app_id — HotMesh app ID (e.g. `"durable"`) * @returns `{ status: 200, data: { entities: string[] } }` */ export declare function listEntities(input: { app_id: string; }): Promise; /** * List jobs (workflow executions) for an app, with optional filters. * * @param input.app_id — HotMesh app ID * @param input.limit — max results * @param input.offset — pagination offset * @param input.entity — filter by entity type * @param input.search — full-text search * @param input.status — filter by job status * @returns `{ status: 200, data: { jobs, total } }` */ export declare function listJobs(input: { app_id: string; limit?: number; offset?: number; entity?: string; search?: string; status?: string; sort_by?: string; order?: string; }): Promise; /** * Get the full execution history for a single job. * * Reconstructs the execution timeline from the HotMesh stream, * including activity calls, signals, and state transitions. * * @param input.jobId — HotMesh job (workflow) ID * @param input.app_id — HotMesh app ID * @returns `{ status: 200, data: }` or 404 */ export declare function getJobExecution(input: { jobId: string; app_id: string; }): Promise; /** * Interrupt a running pipeline job via HotMesh.interrupt(). * * This is the pipeline equivalent of the durable terminate endpoint. * Pipelines run as raw HotMesh YAML DAGs, not through the Durable * abstraction, so they require the app_id (namespace) and topic * to locate the correct engine instance. * * @param input.jobId — HotMesh job ID (workflow_id) * @param input.topic — workflow entity/topic name * @param input.app_id — HotMesh namespace (e.g. "hmsh", "longtail") * @returns `{ status: 200, data: { interrupted: true } }` or error */ export declare function interruptJob(input: { jobId: string; topic: string; app_id: string; }): Promise;