import React from 'react'; import { type Collection, type Directory, type FileSystemEntry } from '../file-system/index.tsx'; export interface NavigationComponents { Root: React.ComponentType<{ source: Directory | Collection; children: React.ReactNode; }>; List: React.ComponentType<{ entry: Directory | Collection; depth: number; children: React.ReactNode; }>; Item: React.ComponentType<{ entry: FileSystemEntry; depth: number; children: React.ReactNode; }>; Link: React.ComponentType<{ entry: FileSystemEntry; depth: number; pathname: string; }>; } export interface NavigationProps { source: Directory | Collection; components?: Partial; } /** A navigation that displays a list of entries. */ export declare const Navigation: typeof NavigationWithFallback; declare function NavigationWithFallback({ source, components: componentsProp, }: NavigationProps): Promise; export {};