mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 23:36:44 -06: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>;
|
|
}
|