import React from "react"; import { User } from "../store/types"; export interface TopBarProps { auth?: { user?: User | null; logout?: () => void; }; logo?: React.FC<{ className: string; }>; title?: string; children?: React.ReactNode; } export default function TopBar({ auth: { user, logout }, logo, title, children, }: TopBarProps): JSX.Element;