interface AMPopupProps { /** 显示状态 */ visible: boolean; /** 关闭回调 */ onClose: () => void; } interface UseHistoryVisibleParams { /** 外部显示状态 */ visible?: boolean; /** antd-mobile类弹出层关闭时触发的回调函数 */ onClose?: () => void; } interface UseHistoryVisibleReturn { /** 设置当前显示状态 */ set: (val: boolean) => void; /** antd-mobile类弹出层Props */ props: AMPopupProps; } /** * 页面返回键关闭弹窗 */ export declare const useHistoryPopup: (params: UseHistoryVisibleParams) => UseHistoryVisibleReturn; /** * 统一处理标题 * 目前需求不需要特别处理 弹层返回 */ export declare const usePageTitle: (pageTitle: string) => { showNav: boolean; pageTitle: string; }; export {};