import type { EmailLoginOptions } from "./email.js"; export type LoginOptions = EmailLoginOptions & { token?: string; oauth?: boolean; }; export type LoginChannelSelection = { channel: "email"; } | { channel: "oauth"; } | { channel: "token"; token: string; } | { error: string; }; /** * Picks the sign-in channel and rejects flag combinations whose extra options * would otherwise be accepted and quietly ignored. */ export declare function selectLoginChannel(opts: LoginOptions): LoginChannelSelection; //# sourceMappingURL=loginChannel.d.ts.map