import type { LoginProviderOption, SavedAccountOption } from "../../types.js";
type LoginDialogProps = {
    mode: "login";
    providers: LoginProviderOption[];
    onClose: () => void;
    onSelect: (provider: LoginProviderOption) => void | Promise<void>;
} | {
    mode: "logout";
    accounts: SavedAccountOption[];
    onClose: () => void;
    onSelect: (account: SavedAccountOption) => void | Promise<void>;
};
export declare function LoginDialog(props: LoginDialogProps): JSX.Element;
export {};
