/** *
* Built-in Loops integration. * * * *
* * @module providers/loops */ import type { EmailConfig } from "./email.js"; export type LoopsUserConfig = Omit, "options" | "type">; export interface LoopsConfig extends Omit { id: string; apiKey: string; transactionalId: string; sendVerificationRequest: (params: Params) => Promise; options: LoopsUserConfig; } type Params = Parameters[0] & { provider: LoopsConfig; }; /** * * @param config * @returns LoopsConfig * @requires LoopsUserConfig * @example * ```ts * Loops({ * apiKey: process.env.AUTH_LOOPS_KEY, * transactionalId: process.env.AUTH_LOOPS_TRANSACTIONAL_ID, * }) * ``` * * @typedef LoopsUserConfig */ export default function Loops(config: LoopsUserConfig): LoopsConfig; export {}; //# sourceMappingURL=loops.d.ts.map