1
0
forked from Yara724/api
This commit is contained in:
SepehrYahyaee
2026-05-24 10:10:17 +03:30
parent 91221a6848
commit af875a4773
20 changed files with 439 additions and 9 deletions

21
src/types/svg-captcha.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
declare module "svg-captcha" {
export interface CaptchaOptions {
size?: number;
ignoreChars?: string;
noise?: number;
color?: boolean;
background?: string;
width?: number;
height?: number;
fontSize?: number;
charPreset?: string;
}
export interface CaptchaResult {
data: string;
text: string;
}
export function create(options?: CaptchaOptions): CaptchaResult;
export function createMathExpr(options?: CaptchaOptions): CaptchaResult;
}