import { ContinentId } from "./type/ContinentId"; import { BasedType, ContinentType, FetchShipping, FetchShippingRate, Location, Locations, MegaSelect } from "./type/Shipping"; import { CountryId } from "./type/CountryId"; import { ProvinceId } from "./type/ProvinceId"; import { ShippingId } from "../types/ShippingId"; import { RuleTypes } from "../types/Shipping"; import { ShippingValue } from "./edit/type/ShippingReady"; import { ShippingRate } from "./edit/type/Shipping"; import { Checked } from "~/components/CountryList/type"; import { LocationsValue } from "./type/ShippingReady"; import { Translator } from "~/locale/useTranslation"; export declare const getRegions: (data: Locations[], options: ContinentType[]) => string; export declare const getChecked: (b: boolean) => Checked; export declare const searchLocations: (options: ContinentType[], search: string) => ContinentType[]; export declare const getListTitle: (t: Translator, options: { value: Checked; }[]) => string | undefined; export declare const getParentValue: (options: { value: Checked; }[]) => Checked; export declare const getLocationsValue: (options: ContinentType[]) => Locations[]; export declare const getMegaSelect: (t: Translator, countries: Location[], provinces: Location[], locations: Locations[]) => MegaSelect; export declare const getId: () => ShippingId; export declare const fromFetchShippingToShipping: (t: Translator) => (shipping: FetchShipping, locations: MegaSelect) => ShippingValue; export declare const getLocationsSuffix: (t: Translator, locations: Locations[]) => string; export declare const fromFetchShippingRateToShippingRate: (t: Translator) => (shippingRate: FetchShippingRate) => ShippingRate; export declare const getAmountType: (type: RuleTypes) => BasedType; export declare const getProvincesFromLocations: (locations: LocationsValue) => ProvinceId[]; export declare const getCountriesFromLocations: (locations: LocationsValue) => CountryId[];