import { Address as AddressType } from '@commercelayer/sdk'; import { AddressProps } from '../../composite/Address'; export type ResourceAddressProps = Pick & { /** * Resource of type `Address` */ address?: AddressType | null; /** * Optional setting to define if given address is editable (if set the Edit button and Overlay will be enabled). * Given the setting the component will also verify user abilities to ensure if he is enabled to update the * requested resource before to render editable related functionalities. */ editable?: boolean; /** * Optional setting to define if given `Address` `billing_info` data is required. * @default false */ requiresBillingInfo?: boolean; /** * Get triggered as soon as the new address is created. */ onCreate?: (createdAddress: AddressType) => void; /** * Get triggered every time the address is updated. */ onUpdate?: (updatedAddress: AddressType) => void; }; /** * Renders an all-in-one visualization and editing solution to deal with a given resource of type `Address` */ export declare const ResourceAddress: import('../../atoms/SkeletonTemplate').SkeletonTemplateComponent<{ title?: string | undefined; showBillingInfo?: boolean | undefined; showNotes?: boolean | undefined; address?: (AddressType | null) | undefined; editable?: boolean /** * Optional setting to define if given `Address` `billing_info` data is required. * @default false */ | undefined; requiresBillingInfo?: boolean /** * Get triggered as soon as the new address is created. */ | undefined; onCreate?: ((createdAddress: AddressType) => void) | undefined; onUpdate?: ((updatedAddress: AddressType) => void) | undefined; delayMs?: number | undefined; isLoading?: boolean | undefined; }>;