/** * The SDK's sign-in screen: what an app shows when it needs an IOSense session and has none. * * An app opened from the IOSense launchpad never sees this — the launchpad hands the session over * (cookie mode sets `AccessToken` on `.iocompute.ai` through `secure.iocompute.ai/set-and-redirect`; * SSO mode puts `?token=` on the URL) and `IOSenseApp` picks it up before the first paint. Inside the * Studio the frame shares the Studio's origin and reads its token. This screen is for the third * case: the app's own address, opened directly, by someone who has an IOSense session elsewhere. * * It takes a token, not a username and a password. An app is not IOSense: a password typed into an * app's page is a password handed to whatever that page runs, and accounts with a second factor * could not sign in here at all. What it wants is an IOSense SSO token — the 64-character one * `generate-sso-token` mints, the same thing the launchpad hands over — which it exchanges for the * session (`exchangeSsoToken`) and keeps the same way (`setToken`). A bearer pasted instead is * taken too, after one request checks that IOSense accepts it: a wrong paste is one line here * instead of an app full of failed requests. * * Plain markup and the theme's tokens, so it looks like the app it opens, whatever the app's own CSS. */ export declare function SignIn({ appName, apiBaseUrl, onSignedIn }: { appName: string; apiBaseUrl: string; onSignedIn: (token: string) => void; }): import("react").JSX.Element;