import { type CreateSiteToolBridgeOptions } from "@opengeni/sdk/site"; import type { PublishedHtmlArtifactToolBridge } from "../../artifacts.js"; import { type AppApiHost } from "./app-api.js"; import type { SiteToolConsentHost } from "./site-tool-consent.js"; type NativeOptions = T extends CreateSiteToolBridgeOptions ? Omit & { callTool?: CreateSiteToolBridgeOptions["callTool"] | undefined; /** The Opengeni frame's confirmation; without it, calls needing the viewer fail. */ consent?: SiteToolConsentHost | null | undefined; } : never; /** Native authentication only; Site routing, origin, filtering and version pinning are shared. */ export declare function createSiteToolBridge(api: AppApiHost, input: NativeOptions): PublishedHtmlArtifactToolBridge; export declare function isCatalogStaleApiError(error: unknown): boolean; export {};