import { __name } from "./_virtual/_rolldown/runtime.mjs"; import { PropsWithChildren } from "react"; import { JSX as JSX$1 } from "react/jsx-runtime"; import { ProjectId } from "@likec4/core/types"; //#region src/LikeC4ProjectsProvider.d.ts type LandingPageConfig = { redirect: true; } | { include: string[]; } | { exclude: string[]; }; export interface LikeC4ProjectData { readonly id: ProjectId; readonly title?: string | undefined; readonly path?: string | undefined; readonly landingPage?: LandingPageConfig | undefined; readonly exportFormats?: readonly string[] | undefined; } 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$1.Element; //#endregion