import { PaneLayout } from "@/app/carnet/page"; declare module "@/components/carnet/navigation" { interface NavigationProps { onLayoutChange: (layout: PaneLayout) => void; } } declare module "@/components/carnet/notes-view" { interface Note { id: string; title: string; content: string; lastEdited: Date; category?: string; tags?: string[]; } interface NotesViewProps { onNoteSelect: (note: Note) => void; } } declare module "@/components/carnet/editor" { interface Note { id: string; title: string; content: string; lastEdited: Date; } interface EditorProps { note: Note | null; onSave: (note: Note) => void; } } declare module "@/components/carnet/panel-resizer" { interface PanelResizerProps { isDragging: boolean; onDragStart: () => void; onDragEnd: () => void; onDrag: (e: MouseEvent) => void; } } declare module "@/hooks/use-media-query" { export function useMediaQuery(query: string): boolean; }