import type { Ref } from 'vue-demi'; import type { GRecaptcha, RecaptchaV2Options, WidgetID } from '../script-manager/common'; export interface RecaptchaProxy { render(ele: Element, options: RecaptchaV2Options): Promise; reset(widgetId?: WidgetID | undefined): void; execute(siteKey: string, options: { action: string; }): Promise; execute(widgetId?: WidgetID | undefined): void; } export declare function createRecaptchaProxy(isReady: Ref, getRecaptcha: () => GRecaptcha): RecaptchaProxy;