import type { LanguageModel } from 'ai';
import type { ProviderConfig } from '@contractspec/lib.ai-providers/types';
import type { ModelSelector, ModelSelectionContext } from '@contractspec/lib.ai-providers/selector-types';
import type { AgentSpec } from '../spec/spec';
import type { ToolHandler } from '../types';
export interface AgentJsonRunnerOptions {
    spec?: AgentSpec;
    model?: LanguageModel;
    provider?: ProviderConfig;
    system?: string;
    toolHandlers?: Map<string, ToolHandler>;
    maxSteps?: number;
    temperature?: number;
    locale?: string;
    modelSelector?: ModelSelector;
    selectionContext?: ModelSelectionContext;
}
export interface AgentJsonRunner {
    generateJson: (prompt: string) => Promise<string>;
}
export declare function createAgentJsonRunner(options: AgentJsonRunnerOptions): Promise<AgentJsonRunner>;
