import { CaptchaType, StateType } from './types';
import { locales as defaultLocales } from './locales';
type __VLS_Props = {
    modelValue: CaptchaType;
    urlCreate: string;
    urlGetImage: string;
    urlGetAudio: string;
    locale: string;
    locales: typeof defaultLocales;
};
declare function chooseImage(): void;
declare function chooseAudio(): void;
declare function toggleAudio(): void;
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: {
        image?(_: {
            chooseImage: typeof chooseImage;
            chooseAudio: typeof chooseAudio;
            url: string | null;
            isError: boolean;
            errorMessage: string | null;
            state: StateType;
        }): any;
        audio?(_: {
            chooseImage: typeof chooseImage;
            chooseAudio: typeof chooseAudio;
            toggleAudio: typeof toggleAudio;
            url: string | null;
            isError: boolean;
            errorMessage: string | null;
            isPlaying: boolean;
            state: StateType;
        }): any;
        default?(_: {
            chooseImage: typeof chooseImage;
            chooseAudio: typeof chooseAudio;
            isError: boolean;
            errorMessage: string | null;
            state: StateType;
        }): any;
    };
    refs: {};
    rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
    "update:modelValue": (modelValue: CaptchaType) => any;
    "create-captcha:init": () => any;
    "create-captcha:error": (error: Error) => any;
    "create-captcha:success": (id: string | null) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
    "onUpdate:modelValue"?: ((modelValue: CaptchaType) => any) | undefined;
    "onCreate-captcha:init"?: (() => any) | undefined;
    "onCreate-captcha:error"?: ((error: Error) => any) | undefined;
    "onCreate-captcha:success"?: ((id: string | null) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
