@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
8 lines (7 loc) • 518 B
TypeScript
import { type FlowrSearch, type FlowrSearchLike, type SearchOutput } from './flowr-search-builder';
import type { ReadonlyFlowrAnalysisProvider } from '../project/flowr-analyzer';
export type GetSearchElements<S> = S extends FlowrSearch<infer _, infer _, infer _, infer Elements> ? Elements : never;
/**
* Run a search with the given search query and data.
*/
export declare function runSearch<S extends FlowrSearchLike>(search: S, input: ReadonlyFlowrAnalysisProvider): Promise<GetSearchElements<SearchOutput<S>>>;