import type { AttachedBrowserBridge, AttachedBrowserDevice } from "@opengeni/sdk/interaction"; import type { EmbeddedBrowserInteractionClientLike } from "../client.js"; import { type EmbeddedBrowserInteractionClientOverride } from "../session-context.js"; export type UseAttachedBrowsersOptions = EmbeddedBrowserInteractionClientOverride & { enabled?: boolean | undefined; includeDisconnected?: boolean | undefined; pollIntervalMs?: number | undefined; }; export type UseAttachedBrowsersResult = { revision: number; bridges: AttachedBrowserBridge[]; devices: AttachedBrowserDevice[]; loading: boolean; refreshing: boolean; error: Error | null; refresh: () => Promise; }; /** Workspace-wide inventory of Chrome profiles currently connected through an * enrolled Opengeni machine. BrowserSessions remain the execution authority. */ export declare function useAttachedBrowsers(options?: UseAttachedBrowsersOptions): UseAttachedBrowsersResult; /** Exported for narrow proxy implementations and tests. */ export type AttachedBrowsersClient = EmbeddedBrowserInteractionClientLike;