import type { AuthStore } from "../../auth/store.js"; export type AuthenticateResult = { success: true; } | { success: false; reason: string; }; export type AuthenticateOptions = { authStore: AuthStore; instanceId: string; timeoutMs?: number; onQRCode?: (qr: string) => void; }; /** * Performs WhatsApp authentication during onboarding. * Displays QR code and waits for user to scan it. * * Expects: AuthStore and instanceId for credential storage. * Returns: success or failure with reason. */ export declare function authenticate(options: AuthenticateOptions): Promise; //# sourceMappingURL=authenticate.d.ts.map