import type { AgentClient, HitlResponse } from "@agents24/client"; import * as React from "react"; import type { ChatHitlPart } from "./model"; import type { AgentChatState } from "./state"; import type { Agents24ReactRuntime } from "./provider"; import { type HitlDecisionReceipt } from "./hitl-resolution"; import { type HitlSubmissionOptions, type HitlSubmissionState } from "./hitl-submission"; export declare function useAgentChatHitlSubmissions(options: { client: AgentClient; runtime: Agents24ReactRuntime; pageSize: number; stateRef: React.MutableRefObject; selectionGeneration: React.MutableRefObject; ownOperation(): () => boolean; accept(receipt: HitlDecisionReceipt): void; attach(runId: string): void; }): { resumeHitl: (part: ChatHitlPart, response: HitlResponse, submission?: HitlSubmissionOptions) => Promise; getHitlSubmissionState: (part: ChatHitlPart) => HitlSubmissionState | undefined; };