import { Strategy } from "@cocalc/util/types/sso";
import { CSSProperties, ReactNode } from "react";
interface SSOProps {
    size?: number;
    style?: CSSProperties;
    header?: ReactNode;
}
export declare function getLink(strategy: string, target?: string): string;
export default function SSO(props: SSOProps): JSX.Element;
interface AvatarProps {
    strategy: Pick<Strategy, "name" | "display" | "icon" | "backgroundColor">;
    size: number;
    noLink?: boolean;
    toolTip?: ReactNode;
    showName?: boolean;
}
export declare function StrategyAvatar(props: AvatarProps): JSX.Element;
export declare function RequiredSSO({ strategy }: {
    strategy?: Strategy;
}): JSX.Element | null;
export declare function useRequiredSSO(strategies: Strategy[] | undefined, email: string | undefined): Strategy | undefined;
export {};
