import { CaptchaObj, ConfigObject } from "svg-captcha"; import Redis from "ioredis"; interface SendOptions { clientId?: string; options?: ConfigObject; } interface VerifyOptions { clientId: string; captcha: string; } export declare class SvgCaptchaUtil { private readonly redis; constructor(redis: Redis); send({ clientId, options, }?: SendOptions): Promise; verify({ clientId, captcha, }: VerifyOptions): Promise<{ clientId: string; captcha: string; }>; } export {};