import { ComponentOptionsMixin } from 'vue';
import { ComponentProvideOptions } from 'vue';
import { DefineComponent } from 'vue';
import { ExtractPropTypes } from 'vue';
import { PropType } from 'vue';
import { PublicProps } from 'vue';

declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;

declare type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};

declare type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: PropType<T[K]>;
        required: true;
    };
};

declare type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};

declare type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};

declare interface Address {
    /**
     * Address first line, usually composed by street number and/or route
     */
    street_address?: string;
    /**
     * Address second line, usually composed by apartment number and/or room
     */
    extended_address?: string;
    /**
     * Address state, abbreviated according to ISO 3166-1 alpha-2
     */
    state?: string;
    /**
     * Address postal code
     */
    postal_code?: string;
    /**
     * Address city
     */
    city?: string;
    /**
     * Address country, abbreviated according to ISO 3166-1 alpha-2
     */
    country?: string;
    /**
     * Address latitude
     */
    lat?: number;
    /**
     * Address longitude
     */
    long?: number;
    /**
     * Google Place id
     */
    place_id?: string;
}

export declare interface AddressSelectProps {
    /**
     * Google Maps API Key. This takes precedence over the key defined in stashOptions
     */
    apiKey?: string;
    /**
     * Wether the Select is disabled or not
     */
    disabled?: boolean;
    /**
     * Select placeholder
     */
    placeholder?: string;
    /**
     * Debounce time in milliseconds to perform API requests on search
     */
    debounceTime?: number;
    /**
     * Model value address
     */
    modelValue?: Address;
    /**
     * Hint text to be passed down to Select component
     */
    hintText?: string;
    /**
     * Error text to be passed down to Select component
     */
    errorText?: string;
    /**
     * Label text to be passed down to Select component
     */
    label?: string;
    /**
     * Disallows values from being de-selected
     */
    preventEmpty?: boolean;
}

declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AddressSelectProps>, {
disabled: boolean;
placeholder: string;
debounceTime: 1000;
modelValue: () => {
street_address: undefined;
extended_address: undefined;
city: undefined;
state: undefined;
postal_code: undefined;
country: undefined;
};
hintText: undefined;
errorText: undefined;
label: undefined;
preventEmpty: boolean;
apiKey: undefined;
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:modelValue": (value: Address) => void;
error: (value: unknown) => void;
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AddressSelectProps>, {
disabled: boolean;
placeholder: string;
debounceTime: 1000;
modelValue: () => {
street_address: undefined;
extended_address: undefined;
city: undefined;
state: undefined;
postal_code: undefined;
country: undefined;
};
hintText: undefined;
errorText: undefined;
label: undefined;
preventEmpty: boolean;
apiKey: undefined;
}>>> & Readonly<{
onError?: ((value: unknown) => any) | undefined;
"onUpdate:modelValue"?: ((value: Address) => any) | undefined;
}>, {
disabled: boolean;
label: string;
placeholder: string;
errorText: string;
hintText: string;
preventEmpty: boolean;
modelValue: Address;
apiKey: string;
debounceTime: number;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
    hint?(_: {}): any;
}>;
export default _default;

export { }
