import { SerializedStyles } from '@emotion/react'; import { EditorModel, EditorSubprocess } from '../model/editormodel'; import { HistoryItem } from '../model/history'; import { LegendInterface } from '../model/States'; declare type SearchResultType = 'Process' | 'Approval' | 'Data' | 'Event' | 'Gateway'; export declare enum SearchHighlightType { SELECTED = "selected", MATCH = "match", NONE = "none" } export declare const SearchResultStyles: Record; export interface SearchComponentRecord { id: string; text: string; type: SearchResultType; history: HistoryItem[]; } export declare function findPageContainingElement(model: EditorModel, id: string): EditorSubprocess | null; export declare function findComponent(model: EditorModel, search: string): SearchComponentRecord[]; export declare function getHighlightedStyleById(id: string, selected: string | null, set: Set): SerializedStyles; export declare function getHighlightedSVGColorById(id: string, selected: string | null, set: Set): string; export {}; //# sourceMappingURL=SearchFunctions.d.ts.map