import { Address, AddressUpdatableInfo, FetchState, ID } from '@zeniai/client-epic-state'; import { DisableMode } from '../../formElements/common/common'; import { FormSectionProps } from '../../formElements/common/formSection'; import { AddressFieldValue, CountrySelectFieldValue } from '../addressHelper'; interface Props { formId: string; googleAPIKey: ID; sectionId: string; addressToEdit?: Address | AddressUpdatableInfo; addTitleMessage?: string; dontShowSaveConfirmationPopup?: boolean; editTitleMessage?: string; hideAddressBackButton?: boolean; hideAddressSubTitle?: boolean; isDisabled?: DisableMode; isSubPage?: boolean; labelWidth?: number; loadingState?: FetchState; navbarStyles?: React.CSSProperties; sectionStyles?: React.CSSProperties; showNavbarWithClose?: boolean; subTitleMessage?: string; onCancel?: () => void; onSubmitHandler?: (formData: AddressFormData) => void; } export declare function AddressFormSection(props: Props): import("react/jsx-runtime").JSX.Element; export interface AddressSectionProps extends FormSectionProps { googleAPIKey: ID; addressToEdit?: Address | AddressUpdatableInfo; isSubPage?: boolean; labelWidth?: number; style?: React.CSSProperties; } export declare function AddressSection({ googleAPIKey, labelWidth, addressToEdit, sectionId, isDisabled, style, }: AddressSectionProps): import("react/jsx-runtime").JSX.Element; export interface AddressFormData { city: string; country: CountrySelectFieldValue; countryCode: string; postalCode: string; secondaryInfo: string; state: string; street: AddressFieldValue; suite: string; } export {};