import { LikeC4Project, ProjectId } from '@likec4/core/types'; import { PropsWithChildren } from 'react'; import { JSX } from 'react/jsx-runtime'; export interface LikeC4ProjectsProviderProps { /** * Projects to be used in the navigation panel. * Current project is taken from the LikeC4Model */ projects: ReadonlyArray; /** * Optional callback when another project is selected. */ onProjectChange?: (id: ProjectId) => void; } /** * Ensures LikeC4Projects context */ export declare function LikeC4ProjectsProvider({ children, projects, onProjectChange: _onProjectChange, }: PropsWithChildren): JSX.Element;