import { Listener } from './types'; export interface Params { listener?: Listener; } /** * * @name offPageShow * @title 取消监听页面显示事件 * @description 传入 listener 时,只取消 listener 对应的显示事件,否则取消所有页面显示事件 * @param {Function} [listener] - 事件监听函数 * @promise false * @fragment featch(params: any, callback) { return suplink.offPageShow({ listener: callback }) } * @example * import { offPageShow } from '@suplink/jssdk'; * * offPageShow() */ export default function offPageShow(params?: Params): void;