/**
 * Agent-loop-owned refresh_context tool for embedded ShortcutXL.
 *
 * Schedules a fresh LLM context continuation in the same visible UI thread.
 * The composition root drains the scheduled refresh after the current run ends.
 */
import type { ToolLlmOptionsBase } from '../../../contracts/host-tool.js';
import type { ToolDefinition } from '../../../core/core-types.js';
export declare const REFRESH_CONTEXT_TOOL_SUMMARY = "Continue an autonomous task in a fresh LLM context while keeping the same visible thread.";
export declare const REFRESH_CONTEXT_TOOL_DESCRIPTION = "Discard the current LLM conversation context and continue in a fresh context while preserving the same visible UI thread.\n\nUse this after updating progress markdown files for a complex autonomous task. After calling this tool, do not make more tool calls; briefly summarize the phase and stop.";
export interface RefreshContextParams {
    readonly query: string;
    readonly progressFolder?: string;
    readonly model?: string;
}
export interface RefreshContextDetails {
    readonly query: string;
    readonly progress_folder?: string;
    readonly model?: string;
}
export interface RefreshContextLlmOptions extends ToolLlmOptionsBase {
    readonly scheduleRefresh?: (params: RefreshContextParams) => void;
}
declare function createLlmTool(options: RefreshContextLlmOptions): ToolDefinition;
export declare const refreshContextContract: {
    createLlmTool: typeof createLlmTool;
};
export {};
//# sourceMappingURL=contract.d.ts.map