/** * 小程序初始化参数 */ export declare interface InitializeProps { items?: { title: string; key: string; }[]; capsule?: boolean; fontSize?: string; fontColor?: string; fontWeight?: string; isEnableBackground?: boolean; } /** * 胶囊按钮样式 */ export declare interface ICapsuleBtnStyleProps { backgroundColor?: string; textColor?: string; highlightColor?: string; borderColor?: string; } export declare interface IExtraDataProps { darkMode?: 'auto' | 'dark' | 'light'; } /** * 开启小程序时传入的配置参数 */ export declare interface IConfigurationProps { extraData?: string | object | IExtraDataProps; openMode?: 'DCUniMPOpenModePresent' | 'DCUniMPOpenModePush'; enableGestureClose?: boolean; enableBackground?: boolean; redirectPath?: string; } /** * uni小程序版本信息 */ export declare interface IAppVersionInfoProps { name: string; code: string; } /** * 小程序胶囊按钮点击回调参数 */ export declare interface IMenuClickCallBackProps { appid: string; buttonid: string; } /** * 小程序向宿主发送的事件数据及宿主回调数据 */ export type UniMPEventData = string | Record; /** * 小程序向宿主发送事件时,宿主收到的参数 */ export declare interface IUniMPEventReceiveProps { appid?: string; event: string; data: UniMPEventData; callbackId?: string; } //# sourceMappingURL=types.d.ts.map