import React from 'react';
import { type JSX, type FluentLocationValue } from 'udp-react-stencil-component-library';
import { FormChangeEvent, FormFocusEvent } from './utils/formEvents';
/**
 * Props for the UdpLocationInput component.
 *
 * Supports both MUI-style and Fluent-style error handling:
 * - MUI style: error={boolean} + helperText={string}
 * - Fluent style: error={string} + hint={string}
 */
export interface UdpLocationInputProps extends Partial<Omit<JSX.UdpFluentLocationInput, 'onValueChanged' | 'onInputBlur' | 'onInputFocus' | 'error'>> {
    /** Called when location changes - compatible with form libraries (event.target.value) */
    onChange?: (event: FormChangeEvent<FluentLocationValue>) => void;
    /** Called when input loses focus - compatible with form libraries */
    onBlur?: (event: FormFocusEvent) => void;
    /** Called when input gains focus */
    onFocus?: (event: FormFocusEvent) => void;
    /** React children (for slot content) */
    children?: React.ReactNode;
    /**
     * Error state - supports both MUI and Fluent patterns:
     * - string: Fluent style - the error message to display
     * - boolean: MUI style - when true, displays helperText as error
     */
    error?: string | boolean;
    /**
     * MUI compatibility: Helper/error text shown below the input.
     * When error={true}, this is displayed as the error message.
     * When error={false}, this is displayed as hint text.
     */
    helperText?: string;
    /**
     * Azure Maps subscription key. When set, the wrapper auto-wires
     * `tileUrlTemplate`, `searchAddresses`, and `reverseGeocode` to Azure Maps —
     * any of those props passed explicitly still win. Defaults to
     * `REACT_APP_AZURE_MAP_SUBSCRIPTION_KEY` (preferred — matches the starter-kit
     * env convention) and falls back to `VITE_AZURE_MAP_SUBSCRIPTION_KEY`. Pass
     * `null` to opt out of the env default entirely.
     */
    azureMapsKey?: string | null;
}
export declare const UdpLocationInput: React.FC<UdpLocationInputProps>;
//# sourceMappingURL=UdpLocationInput.d.ts.map