import { Fqn, ViewId } from '@likec4/core/types'; import { Context } from 'react'; export interface SearchContextValue { searchValue: string; setSearchValue: (value: string) => void; normalizedSearch: string; navigateTo: (viewId: ViewId, focusOnElement?: Fqn) => void; openPickView: (elementFqn: Fqn) => void; closePickView: () => void; pickViewFor: Fqn | null; close: () => void; currentViewId: string | null; openedWithSearch: string | null; } export declare const SearchContext: Context; export declare function useSearchContext(): SearchContextValue; /** * Normalize a raw search string for comparison. * Extracted as a pure function so both XState and standalone adapters can reuse it. */ export declare function normalizeSearch(value: string): string;