@codesandbox/api
Version:
The CodeSandbox API
13 lines (12 loc) • 512 B
TypeScript
/**
* The approach to build UI introduced in this fail blew up in complexity with the dynamic nature of
*/
import type { AuthenticationProvider, MetaFeatures } from "./RESTTypes";
export declare const showCliLoginModal: () => Promise<{
token: string | undefined;
dispose: () => void;
}>;
export declare const showLoginModal: (metaFeatures: MetaFeatures, getSSORedirectUrl: (email: string) => Promise<string>) => Promise<{
dispose: () => void;
provider?: AuthenticationProvider | undefined;
}>;