import { __name } from "../_virtual/_rolldown/runtime.mjs"; import { ViewId } from "@likec4/core/types"; //#region src/navigationpanel/actor.setup.d.ts export interface Input { viewId: ViewId; viewFolder: string; } export type Events = { type: 'update.inputs'; inputs: Input; } | { type: 'searchQuery.change'; value: string; } | { type: 'searchQuery.changed'; } | { type: 'select.folder'; folderPath: string; } | { type: 'select.view'; viewId: ViewId; viewFolder?: string | undefined; } | { type: 'breadcrumbs.mouseLeave'; } | { type: 'breadcrumbs.mouseEnter.root'; } | { type: 'breadcrumbs.mouseLeave.root'; } | { type: 'breadcrumbs.mouseEnter.folder'; folderPath: string; } | { type: 'breadcrumbs.mouseLeave.folder'; folderPath: string; } | { type: 'breadcrumbs.mouseEnter.viewtitle'; } | { type: 'breadcrumbs.mouseLeave.viewtitle'; } | { type: 'breadcrumbs.click.root'; } | { type: 'breadcrumbs.click.folder'; folderPath: string; } | { type: 'breadcrumbs.click.viewtitle'; } | { type: 'dropdown.mouseEnter'; } | { type: 'dropdown.mouseLeave'; } | { type: 'dropdown.dismiss'; }; export interface Context { viewId: ViewId; viewFolder: string; /** * Who activated the dropdown * (if `click` then the dropdown is always open until dismissed) * @default 'hover' */ activatedBy: 'hover' | 'click'; /** * The folder that is currently selected in the dropdown * By default it is the root */ selectedFolder: string; searchQuery: string; } export type Tags = 'active'; export declare function Context({ input }: { input: Input; }): Context; //#endregion