export type HistoryLocationChangeSource = 'push' | 'replace' | 'pop' | 'hash'; type HistoryLocationListener = (source: HistoryLocationChangeSource) => void; /** * 共享对原生 History 的唯一包装,避免多个 ProLayout 实例互相覆盖和泄漏。 */ export declare const subscribeHistoryLocation: (listener: HistoryLocationListener) => (() => void); export {};