mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-18 07:21:11 +02:00
0e4a111f81
Resolve #7779
12 lines
258 B
TypeScript
12 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>;
|
|
}
|