import type { Snippet } from "svelte"; interface NavItem { id: string; label: string; badge?: number | string; } interface Props { /** Brand block (top of the rail). String or Snippet (D43). */ brand?: string | Snippet; /** Left side of the sticky top bar. String or Snippet (D43). */ topLeft?: string | Snippet; /** Right side of the sticky top bar. String or Snippet (D43). */ topRight?: string | Snippet; /** Optional rail footer (desktop only). String or Snippet (D43). */ footer?: string | Snippet; /** Navigation items rendered in both rail and tab bar. @default [] */ nav?: NavItem[]; /** id of the currently-active nav item. */ current: string; /** Called with the item id when a nav item is activated. */ onNavigate: (id: string) => void; /** Required main content. */ children: Snippet; /** Polymorphic root element. @default 'div' */ as?: string; [key: string]: unknown; } declare const AppShell: import("svelte").Component; type AppShell = ReturnType; export default AppShell;