import type { AuthenticationState } from '../Types/index.js'; /** * Creates a file-based authentication state for the Rust bridge. * * All crypto keys, sessions, and identity are managed by the Rust engine * and persisted as `.bin` files via the bridge store. No `creds.json` needed. * * Returns a `saveCreds` no-op for upstream-Baileys API parity. Upstream * bots wire `ev.on('creds.update', saveCreds)` as the persistence hook; * in baileyrs the bridge auto-persists everything through the store, so * the function is a stable shim that lets the same call sites keep * working without changes. * * @param folder Directory to store bridge state files */ export declare const useMultiFileAuthState: (folder: string) => Promise<{ state: AuthenticationState; saveCreds: () => Promise; }>; //# sourceMappingURL=use-multi-file-auth-state.d.ts.map