mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 17:03:09 +02:00
11 lines
258 B
TypeScript
11 lines
258 B
TypeScript
declare module 'hcaptcha' {
|
|
interface IVerifyResponse {
|
|
success: boolean;
|
|
challenge_ts: string;
|
|
hostname: string;
|
|
credit?: boolean;
|
|
'error-codes'?: unknown[];
|
|
}
|
|
|
|
export function verify(secret: string, token: string): Promise<IVerifyResponse>;
|
|
}
|