import { type CaptureTransform, type GeometryRect } from "../_types/execution/rapid-computer-use/geometry.js"; import { type UiPointResult, type VisualUiOptions } from "../_types/execution/rapid-computer-use/visual.js"; import type { AssertHostUiModelReady } from "./configured-planner.js"; import type { HostUiPointProfile } from "./task-spec.js"; export interface HostUiPointReceipt { schema: "omnius.host-ui-point-receipt.v1"; requestId: string; profile: Pick; captureSha256: string; captureBytes: number; captureBindingSha256: string; transform: CaptureTransform; liveBounds: GeometryRect; querySha256: string; requestSha256: string; replySha256: string; requestBytes: number; replyBytes: number; replyComplete: boolean; requestDispatched: true; responseReceived: boolean; httpStatus?: number; latencyMs: number; status: "valid_points" | "rejected"; rejectionCode?: "transport" | "http" | "invalid_response" | "cancelled" | "timeout" | "postflight"; /** Model coordinates are candidates, never authority or proof that input occurred. */ points?: UiPointResult["points"]; } /** Dedicated Photon transport. Host preflight verifies the resident service, never loads it. */ export declare function createConfiguredUiPoint(profile: HostUiPointProfile, options: { assertModelReady: AssertHostUiModelReady; assertCurrent?: () => void; onPointReceipt?: (receipt: HostUiPointReceipt) => void | Promise; fetch?: typeof fetch; }): VisualUiOptions["point"];