import type { LTTaskRecord, LTEscalationRecord } from '../../../types';
/**
 * Query all tasks sharing an originId.
 * Gives the triage workflow full context of upstream work.
 */
export declare function getUpstreamTasks(originId: string): Promise<LTTaskRecord[]>;
/**
 * Query all escalations sharing an originId.
 * Gives the triage workflow the full conversation history.
 */
export declare function getEscalationHistory(originId: string): Promise<LTEscalationRecord[]>;
/**
 * Create an escalation to the engineering team with a recommendation.
 * Used by the triage workflow to surface long-term fixes (non-blocking).
 */
export declare function notifyEngineering(originId: string, description: string, metadata?: Record<string, any>): Promise<void>;
/**
 * Look up tool_tags for a workflow type from lt_config_workflows (cached).
 * Returns empty array if the workflow type has no tags configured.
 */
export declare function getToolTags(workflowType: string): Promise<string[]>;
