//#region src/auth/password-reset-link-store.d.ts
type PasswordResetLinkEntry = {
  email: string;
  url: string;
  token: string;
};
/**
 * Sets up a listener that resolves when `setPasswordResetLink` fires for this email.
 * Call BEFORE `auth.api.requestPasswordReset()`.
 *
 * This creates a per-request promise bridge: the `sendResetPassword` callback
 * (configured in auth.ts) calls `setPasswordResetLink`, which resolves this promise
 * within the same HTTP request on the same server instance.
 */
declare function waitForPasswordResetLink(email: string, timeoutMs?: number): Promise<PasswordResetLinkEntry>;
/**
 * Called from the `sendResetPassword` callback in auth config.
 * Resolves the pending promise for this email (if any).
 */
declare function setPasswordResetLink(entry: {
  email: string;
  url: string;
  token: string;
}): void;
//#endregion
export { setPasswordResetLink, waitForPasswordResetLink };