mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 13:09:07 +01:00
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>;
|
|
}
|