import type { ToolGatewaySiteConsentReview } from "@opengeni/sdk"; import type { SiteToolConnectPrompt, SiteToolConsentDecision, SiteToolConsentPrompt } from "@opengeni/sdk/site"; /** * What the confirmation says: the action, and to whom. With a provider review * (Gmail reads the message as it would be sent: raw, draft or reply), the rows * come only from it; otherwise from the arguments the tool receives. */ export declare function siteToolConsentSummary(prompt: Pick, review?: ToolGatewaySiteConsentReview | null): { title: string; /** One plain consequence line, when the action has one (as in agent reviews). */ consequence: string | null; confirmLabel: string; rows: { label: string; value: string; }[]; }; /** * The Opengeni frame's confirmation for one Site tool call. Host UI only: the * Site never renders, answers or skips it. */ export declare function SiteToolConsentDialog({ prompt, onDecision, }: { prompt: SiteToolConsentPrompt; onDecision: (decision: SiteToolConsentDecision) => void; }): import("react").JSX.Element; /** How long the confirmation is on screen before it can be answered. */ export declare const CONFIRM_ARM_MS = 500; export type ConnectRequest = SiteToolConnectPrompt & { workspaceId: string; }; /** The existing connect card, for a viewer with no account the Site's tool can use. */ export declare function SiteToolConnect({ request, onDone, }: { request: ConnectRequest; onDone: (connected: boolean) => void; }): import("react").JSX.Element | null;