declare module "cryptcha" {
    interface CryptchaInitOptions {
        siteId: string
        target: HTMLElement
        baseUrl?: string
        log?: boolean
        autoSolve?: boolean
        onSolved?: (payload: { solution: string; solutionId: string }) => void
    }

    export default class Cryptcha {
        constructor(options: CryptchaInitOptions)
        destroy(): void
        reset(): void
    }
}
