mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-26 05:16:43 -06:00
10 lines
214 B
TypeScript
10 lines
214 B
TypeScript
|
declare module 'hcaptcha' {
|
||
|
export function verify(secret: string, token: string): Promise<{
|
||
|
success: boolean;
|
||
|
challenge_ts: string;
|
||
|
hostname: string;
|
||
|
credit?: boolean;
|
||
|
'error-codes'?: unknown[];
|
||
|
}>;
|
||
|
}
|