import { type CommonAction } from "@iflyrpa/share"; import { z } from "zod"; import { ShipinhaoGetLocationParamsSchema } from "./schema"; export type ShipinhaoGetLocationParams = z.infer; export { ShipinhaoGetLocationParamsSchema } from "./schema"; export interface Location { uid: string; name: string; longitude: number; latitude: number; address: string; province: string; city: string; region: string; fullAddress: string; source: number; poiCheckSum: string; } export interface Address { city: string; country: string; countryCode: string; latitude: number; longitude: number; poiCheckSum: string; province: string; region: string; } export interface ShipinhaoLocationResponse { errCode: number; errMsg: string; data?: { list?: Location[]; address?: Address; total?: number; }; } export type ShipinhaoGetLocationAction = CommonAction; export declare const shipinhaoGetLocation: ShipinhaoGetLocationAction;