import type { StreamData, StreamDataResponse } from '@hotmeshio/hotmesh/build/types/stream';
import type { ActivityManifestEntry } from '../../../types/yaml-workflow';
/**
 * Compact input data for LLM consumption: truncate large arrays and
 * strip fields that are unhelpful for summarization (ids, trace data).
 */
export declare function compactForLlm(input: Record<string, unknown>): Record<string, unknown>;
/**
 * Build an LLM worker callback that interpolates a prompt template with
 * input data and calls the LLM for interpretation/synthesis.
 */
export declare function buildLlmCallback(activity: ActivityManifestEntry): (data: StreamData) => Promise<StreamDataResponse>;
/**
 * Build a transform worker callback that reshapes array data between steps.
 * Applies field renames, defaults, and derivations.
 */
export declare function buildTransformCallback(activity: ActivityManifestEntry): (data: StreamData) => Promise<StreamDataResponse>;
