import type { BaseQueryFormat, BaseQueryResult } from '../../base-query-format';
import Joi from 'joi';
import type { FlowrSearch } from '../../../search/flowr-search-builder';
import type { NodeId } from '../../../r-bridge/lang-4.x/ast/model/processing/node-id';
import { executeSearch } from './search-query-executor';
export interface SearchQuery extends BaseQueryFormat {
    readonly type: 'search';
    readonly search: FlowrSearch;
}
export interface SearchQueryResult extends BaseQueryResult {
    readonly results: {
        ids: NodeId[];
        search: FlowrSearch;
    }[];
}
export declare const SearchQueryDefinition: {
    readonly executor: typeof executeSearch;
    readonly asciiSummarizer: (formatter: import("../../../util/text/ansi").OutputFormatter, _analyzer: import("../../../project/flowr-analyzer").ReadonlyFlowrAnalysisProvider<import("../../../r-bridge/parser").KnownParser>, queryResults: BaseQueryResult, result: string[]) => true;
    readonly schema: Joi.ObjectSchema<any>;
    readonly flattenInvolvedNodes: (queryResults: BaseQueryResult) => NodeId[];
};
