import type { AccessPath, BlockHandler } from '../access';
/**
 * 自定义阻断器钩子
 * @param handler 处理器
 */
export declare const useCustomBlocker: (handler: BlockHandler) => void;
/**
 * 安全阻断器钩子
 * @param recover 是否恢复 blocked = false
 */
export declare const useSecurityBlocker: (recover?: boolean) => {
    /**
     * 是否已阻断
     */
    blocked: boolean;
    /**
     * 处理阻断（即继续访问）
     */
    proceed: () => void;
    /**
     * 重置阻断（即不再访问）
     */
    reset: () => void;
    /**
     * 阻断路径
     */
    path: AccessPath | undefined;
};
