import type { AuthRun, AuthRunMutationResponse, ReportAuthRunRequest, StartAuthRunRequest, VerifyAuthRunRequest } from "@opengeni/sdk/interaction"; import type { EmbeddedBrowserInteractionClientLike } from "../client.js"; import { type EmbeddedBrowserInteractionClientOverride } from "../session-context.js"; export type UseAuthRunsOptions = EmbeddedBrowserInteractionClientOverride & { enabled?: boolean | undefined; browserSessionId?: string | null | undefined; siteAuthConnectionId?: string | null | undefined; includeSettled?: boolean | undefined; }; export type UseAuthRunsResult = { runs: AuthRun[]; loading: boolean; refreshing: boolean; mutating: boolean; error: Error | null; refresh: () => Promise; start: (browserSessionId: string, request: Omit & { operationId?: string; }) => Promise; report: (browserSessionId: string, authRunId: string, request: Omit & { operationId?: string; }) => Promise; verify: (browserSessionId: string, authRunId: string, request: Omit & { operationId?: string; }) => Promise; }; /** Live authentication state machines tied to exact browser document generations. */ export declare function useAuthRuns(options?: UseAuthRunsOptions): UseAuthRunsResult; export type AuthRunsClient = EmbeddedBrowserInteractionClientLike;