import { useOutletContext } from 'react-router-dom';
import type { ShellOutletContext } from '@/business/app-shell/types';

export type { ShellOutletContext };

export function useShellOutletContext(): ShellOutletContext {
  return useOutletContext<ShellOutletContext>();
}
