import type { HandlerEntry } from "./types.js"; /** Run a handler body, recording its entry as executing for the duration. */ export declare function runAsHandler(entry: HandlerEntry, fn: () => Promise): Promise; /** The entries executing in this lineage, outermost first. */ export declare function executingHandlers(): HandlerEntry[]; /** True when any handler body is executing in this lineage. */ export declare function insideHandlerFunction(): boolean;