import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; /** * 过滤行政级别。 */ export declare const GetMiscDistrictLevel: { readonly Province: "province"; readonly City: "city"; readonly District: "district"; readonly Street: "street"; }; /** * 过滤行政级别。 */ export type GetMiscDistrictLevel = ClosedEnum; export declare const GetMiscDistrictLevel$zodSchema: z.ZodEnum<{ province: "province"; city: "city"; district: "district"; street: "street"; }>; export type GetMiscDistrictRequest = { keywords?: string | undefined; adcode?: string | undefined; lat?: number | undefined; lng?: number | undefined; level?: GetMiscDistrictLevel | undefined; country?: string | undefined; limit?: number | undefined; }; export declare const GetMiscDistrictRequest$zodSchema: z.ZodType; /** * 请求参数错误。 */ export type GetMiscDistrictBadRequestResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const GetMiscDistrictBadRequestResponseBody$zodSchema: z.ZodType; /** * 中心点坐标。 */ export type Center = { lat?: number | undefined; lng?: number | undefined; }; export declare const Center$zodSchema: z.ZodType
; export type GetMiscDistrictResult = { name?: string | undefined; level?: string | undefined; country?: string | undefined; country_code?: string | undefined; province?: string | undefined; city?: string | undefined; district?: string | undefined; street?: string | undefined; adcode?: string | undefined; citycode?: string | undefined; center?: Center | undefined; population?: number | undefined; timezone?: string | undefined; }; export declare const GetMiscDistrictResult$zodSchema: z.ZodType; /** * 查询成功!返回匹配的行政区域列表。 */ export type GetMiscDistrictResponseBody = { total?: number | undefined; results?: Array | undefined; }; export declare const GetMiscDistrictResponseBody$zodSchema: z.ZodType; export type GetMiscDistrictResponse = GetMiscDistrictResponseBody | GetMiscDistrictBadRequestResponseBody; export declare const GetMiscDistrictResponse$zodSchema: z.ZodType; //# sourceMappingURL=getmiscdistrictop.d.ts.map