/** * The runtime shell the web UI is rendering inside. Used as pass-through * feedback metadata so form owners can tell whether a submission came from the * Agent Native desktop app (Electron), a Tauri desktop shell (e.g. Clips), or a * plain browser — without surfacing it as a visible form field. */ export type ClientSurface = "web" | "electron" | "tauri"; /** * Best-effort, side-effect-free detection of the current client surface. * Returns "web" during SSR and in any plain browser. * * Electron detection keys off the `AgentNativeDesktop` User-Agent token that the * desktop shell appends app-wide (see `app.userAgentFallback`), plus the preload * globals, so it stays specific to our app rather than every Electron webview. */ export declare function getClientSurface(): ClientSurface; //# sourceMappingURL=client-surface.d.ts.map