import * as react_jsx_runtime from 'react/jsx-runtime';

interface ImpersonationBannerProps {
    /**
     * Callback fired after the impersonation session ends (after the admin
     * token is restored). Useful for refreshing the UI or navigating home.
     */
    onExit?: () => void;
    /** Optional extra classes on the outer bar. */
    className?: string;
}
/**
 * Persistent banner shown while the current session is an impersonation
 * session. Shows the admin's identity + target, and an Exit button that
 * terminates the session. Invisible when not impersonating.
 */
declare function ImpersonationBanner({ onExit, className }: ImpersonationBannerProps): react_jsx_runtime.JSX.Element | null;

export { ImpersonationBanner, type ImpersonationBannerProps };
