import type { Simplify } from 'type-fest'; import { Static } from '../../type-utils'; declare const data: import("@sinclair/typebox").TObject<{ text: import("@sinclair/typebox").TString; type: import("@sinclair/typebox").TUnsafe<"primary" | "default" | "warn" | "wechat">; size: import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">; }>; export type DataType = Simplify>; declare const config: { readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json"; readonly data: import("@sinclair/typebox").TObject<{ text: import("@sinclair/typebox").TString; type: import("@sinclair/typebox").TUnsafe<"primary" | "default" | "warn" | "wechat">; size: import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">; }>; readonly events: readonly [{ readonly title: "手机号授权成功"; readonly name: "phonesuccess"; readonly description: "弹窗中点击了允许按钮后触发的事件"; readonly 'x-platforms': readonly ["MP"]; readonly detail: import("@sinclair/typebox").TObject<{ phoneNumber: import("@sinclair/typebox").TString; purePhoneNumber: import("@sinclair/typebox").TString; countryCode: import("@sinclair/typebox").TString; timestamp: import("@sinclair/typebox").TString; }>; }, { readonly title: "手机号授权失败"; readonly description: "弹窗中点击了拒绝按钮后触发的事件"; readonly name: "phonefail"; readonly 'x-platforms': readonly ["MP"]; }]; readonly meta: { readonly title: "获取用户手机号"; readonly description: "在小程序运行态对用户的手机号进行获取。"; readonly icon: "../../icons/Phone.svg"; readonly category: "小程序"; readonly categoryOrder: 700; readonly componentOrder: 570; readonly platform: readonly ["MP"]; readonly visible: readonly ["APP"]; readonly validate: readonly [{ readonly rule: "checkBusiness"; readonly options: { readonly allowFailure: true; readonly title: "当前应用使用了「获取用户手机号」组件,该组件在小程序端仅支持企业主体小程序使用,请确保当前应用绑定的小程序为企业主体"; readonly description: ""; readonly type: "mp"; readonly version: ""; readonly platform: readonly ["MP"]; }; }]; readonly propertyPanelTips: "该组件必须在小程序真实环境使用才能够看到实际效果,并且小程序必须为企业主体,请确保小程序已经完成微信认证。[去认证](https://developers.weixin.qq.com/miniprogram/product/renzheng.html)"; }; readonly configMeta: { readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Phone"; }; }; export default config;