import { type LocalTurnSignals, type SlotInvocation, type SlotRoutingErrorClass, type SlotSelection, type VisibleToolSlot } from "@topaca/nova-agent-core";
export type LocalSlotRuntimeState = {
    signals: LocalTurnSignals;
    maxRepairAttempts: number;
};
export type LocalSlotRouteResult = {
    ok: true;
    slot?: VisibleToolSlot;
    track: boolean;
    stage1?: SlotSelection;
    stage2?: SlotInvocation;
} | {
    ok: false;
    errorClass: SlotRoutingErrorClass;
    message: string;
};
export declare function createLocalSlotRuntimeState(maxRepairAttempts: number): LocalSlotRuntimeState;
export declare function routeLocalToolCall(toolName: string, args: unknown, state: LocalSlotRuntimeState): LocalSlotRouteResult;
export declare function updateLocalSlotRuntimeStateAfterTool(state: LocalSlotRuntimeState, slot: VisibleToolSlot, isError: boolean, details: unknown): void;
//# sourceMappingURL=slot-runtime.d.ts.map