mirror of
https://github.com/misskey-dev/misskey
synced 2024-09-19 15:33:25 +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>;
|
|
}
|