///
import { OptionsSelectType, ThumborSettingType } from '../Common/types';
export declare type ShippingLogoType = {
[key: string]: string;
};
export declare const SHIPPING_LOGO: ShippingLogoType;
export declare type EstimateShippingProps = {
classes: Partial;
weight: {
value: number;
unit: 'GR' | 'KG';
};
volume: {
length: number;
height: number;
width: number;
unit: 'CM' | 'M' | 'INCH';
};
loadingComponent?: React.ReactNode;
thumborSetting: ThumborSettingType;
iconClose?: React.ReactNode;
lazyLoadedImage?: boolean;
};
export declare type PopupDetailEstimateShippingProps = {
iconClose?: React.ReactNode;
handleOnChangeDestination: (data: OptionsSelectType) => void;
setShowPopup: (data: boolean) => void;
origin: string;
showPopup: boolean;
weight: {
value: number;
unit: 'GR' | 'KG';
};
volume: {
length: number;
height: number;
width: number;
unit: 'CM' | 'M' | 'INCH';
};
shippingProviders?: ShippingType[];
addressLocation?: AddressLocationType;
classes?: PopupDetailEstimateShippingClasses;
lazyLoadedImage?: boolean;
};
export declare type AddressLocationType = {
location: string;
districtCode: string;
addressLabel: string;
latitude: string;
longitude: string;
};
export declare type EstimateShippingClasses = {
estimateShippingWrapperClassName?: string;
estimateShippingDetailClassName?: string;
estimateShippingTitleClassName?: string;
estimateShippingLogoClassName?: string;
estimateShippingLogoImgClassName?: string;
estimateShippingCostClassName?: string;
estimateShippingShowCourierClassName?: string;
};
export declare type PopupDetailEstimateShippingClasses = {
estimateShippingPopupContentClassName?: string;
estimateShippingPopupContainerClassName?: string;
estimateShippingPopupButtonCloseClassName?: string;
estimateShippingPopupHeaderClassName?: string;
estimateShippingPopupTitleClassName?: string;
estimateShippingPopupBodyClassName?: string;
estimateShippingPopupLineInfoClassName?: string;
estimateShippingPopupLabelClassName?: string;
estimateShippingPopupValueClassName?: string;
estimateShippingPopupProviderClassName?: string;
estimateShippingPopupLineProviderClassName?: string;
estimateShippingPopupProviderLabelClassName?: string;
estimateShippingPopupProviderImgClassName?: string;
estimateShippingPopupProviderValueClassName?: string;
};
export declare type ShippingResponseType = {
brands: Array<{
shippingCostEstimation: {
methods: ShippingType[];
};
}>;
};
export declare type ShippingRequestType = {
toCode: string;
toLatLong: string;
height: number;
length: number;
width: number;
weight: number;
};
export declare type ShippingType = {
provider: string;
service: string;
message: string;
isEnable: boolean;
cost: {
code: string;
value: number;
};
};