import { VBtn } from 'vuetify/components/VBtn';
import { type PatientRegisterPayload } from '../../composables/hostAgent.js';
interface Props extends /* @vue-ignore */ InstanceType<typeof VBtn['$props']> {
    /** If true -> call /idcard/infoAndPhoto, else /idcard/info */
    withPhoto?: boolean;
    /** Optional reader name/query string */
    reader?: string | null;
    /** Auto-disable button while reading */
    disableWhileLoading?: boolean;
}
declare var __VLS_12: never, __VLS_13: {};
type __VLS_Slots = {} & {
    [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
};
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
    withPhoto: boolean;
    reader: null;
    disableWhileLoading: boolean;
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
    error: (err: unknown) => any;
    loading: (loading: boolean) => any;
    read: (payload: PatientRegisterPayload) => any;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
    withPhoto: boolean;
    reader: null;
    disableWhileLoading: boolean;
}>>> & Readonly<{
    onError?: ((err: unknown) => any) | undefined;
    onLoading?: ((loading: boolean) => any) | undefined;
    onRead?: ((payload: PatientRegisterPayload) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_TypePropsToOption<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: import('vue').PropType<Required<T>[K]>;
    } : {
        type: import('vue').PropType<T[K]>;
        required: true;
    };
};
type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
        default: D[K];
    }> : P[K];
};
type __VLS_WithSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
type __VLS_PrettifyLocal<T> = (T extends any ? {
    [K in keyof T]: T[K];
} : {
    [K in keyof T as K]: T[K];
}) & {};
