export type ScopedActiveExitDelay = "raf" | "sync";
interface UseScopedActiveDispatcherOptions {
    isActive: boolean;
    setActive: (active: boolean) => void;
    onExitInside?: () => void;
    onExitOutside?: () => void;
    isInsideContainer?: (target: EventTarget | null) => boolean;
    exitDelay?: ScopedActiveExitDelay;
}
/**
 * 通用激活态退出分发：退出时按 activeElement 是否命中容器分流后续行为。
 */
export declare function useScopedActiveDispatcher({ isActive, setActive, onExitInside, onExitOutside, isInsideContainer, exitDelay, }: UseScopedActiveDispatcherOptions): {
    handleActiveChange: (nextActive: boolean) => void;
};
export {};
