import { type LanguageModel } from 'ai'; import type { ContextStrategy } from '../types/context.js'; import type { Flow } from '../types/flow.js'; import type { RunState } from '../runtime/durable/types.js'; export interface ApplyContextStrategyOptions { strategy: ContextStrategy; run: RunState; flow: Flow; model: LanguageModel; summaryPrompt?: string; abortSignal?: AbortSignal; } export declare function applyContextStrategy(options: ApplyContextStrategyOptions): Promise; export declare function resolveContextStrategy(nodeContext: ContextStrategy | undefined, flow: Flow): ContextStrategy;