import { FC } from 'react'; import './index.scss'; import type { PntRegionSelectProps } from './types'; /** * 归一化 region_code:纯数字字符串去掉前导零('012' -> '12'),非数字保持原样 * @description 后端详情接口可能返回 '12',字典接口可能返回 '012',需统一格式才能匹配 */ export declare const normalizeRegionCode: (code: string | number | undefined | null) => string; /** * 地区选择器组件 * @description 统一的国家/地区选择组件,支持单选/多选、批量选择、批量导入、自定义区域、合规区域 * * @example * ```tsx * // 基础多选(内部拉取默认区域列表) * setRegions(v)} * /> * * // 业务最终生效区域 * setRegions(v)} * /> * * // 外部受控选项 + 批量导入 * setRegions(v)} * /> * ``` */ declare const PntRegionSelect: FC; export default PntRegionSelect;