import React from "react"; import type { EventFormValues, EventOnboardingValidationErrors } from "../EventOnboarding.types"; import type { AddressSource } from "./eventLocationStep.helpers"; type EventLocationChangeEvent = React.ChangeEvent | { target: { name: string; value: unknown; type: string; checked?: boolean; }; }; interface UseEventLocationStepParams { formState: EventFormValues; isTerreiroAddressEmpty?: boolean; knownLocations?: string[]; validationErrors: EventOnboardingValidationErrors; onChange: (e: EventLocationChangeEvent) => void; } export declare const useEventLocationStep: ({ formState, isTerreiroAddressEmpty, knownLocations, onChange, }: UseEventLocationStepParams) => { addressSource: AddressSource; showExternalAddressFields: boolean; setAddressSource: (nextSource: AddressSource) => void; }; export {};