import type { StreamFn } from "@mariozechner/pi-agent-core";
import type { FasedAgentConfig } from "../../../config/config.js";
import type { EmbeddedRunTrigger } from "./params.js";
export declare const DEFAULT_LLM_IDLE_TIMEOUT_MS = 60000;
export declare function resolveLlmIdleTimeoutMs(params?: {
    cfg?: FasedAgentConfig;
    trigger?: EmbeddedRunTrigger;
}): number;
export declare function streamWithIdleTimeout(baseFn: StreamFn, timeoutMs: number, onIdleTimeout?: (error: Error) => void): StreamFn;
