forked from Yara724/api
YARA-913
This commit is contained in:
21
src/types/svg-captcha.d.ts
vendored
Normal file
21
src/types/svg-captcha.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user