import type { RouteContext, RouteDefinition, RouteResult } from "../routes.js";
import type { UiHandlerDeps } from "../deps.js";
export interface QiHandoffSuccessBody {
    readonly handoffId: string;
    readonly chatId: string;
    readonly persistedMessageId: string;
    readonly runId?: string;
}
export interface QiHandoffRouteOptions {
    readonly now?: () => number;
}
export declare const createHandleQiHandoff: (options?: QiHandoffRouteOptions) => ((ctx: RouteContext, deps: UiHandlerDeps) => Promise<RouteResult>);
export declare const handleQiHandoff: (ctx: RouteContext, deps: UiHandlerDeps) => Promise<RouteResult>;
export declare const QI_HANDOFF_ROUTE_GROUP: readonly RouteDefinition[];
//# sourceMappingURL=handoffRoutes.d.ts.map