import type { ProviderRunState, ProviderToolApprovalItem } from '../../../lib/providers/types';
import type { OllamaChatMessage, PendingToolCallRecord } from './types';
export declare class OllamaRunState implements ProviderRunState {
    private readonly conversationSnapshot;
    private readonly calls;
    private readonly interruptions;
    constructor(params: {
        conversation: OllamaChatMessage[];
        calls: PendingToolCallRecord[];
    });
    toString(): string;
    static deserialize(serialized: string): OllamaRunState;
    getInterruptions(): ProviderToolApprovalItem[];
    approve(interruption: unknown, options?: Record<string, unknown>): void;
    reject(interruption: unknown, options?: Record<string, unknown>): void;
    consumeResolvedCalls(): {
        approved: PendingToolCallRecord[];
        rejected: PendingToolCallRecord[];
    };
    cloneConversation(): OllamaChatMessage[];
    private resolveInterruption;
}
//# sourceMappingURL=runState.d.ts.map