mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-28 06:13:02 +00:00
17 lines
308 B
TypeScript
17 lines
308 B
TypeScript
|
declare module 'recaptcha-promise' {
|
||
|
interface IVerifyOptions {
|
||
|
secret_key?: string;
|
||
|
}
|
||
|
|
||
|
interface IVerify {
|
||
|
(response: string, remoteAddress?: string): Promise<boolean>;
|
||
|
init(options: IVerifyOptions): IVerify;
|
||
|
}
|
||
|
|
||
|
namespace recaptchaPromise {} // Hack
|
||
|
|
||
|
const verify: IVerify;
|
||
|
|
||
|
export = verify;
|
||
|
}
|