import { TokenType } from "chevrotain"; import { Suggestion, SchemaInfo } from "./types"; import type { TableRef } from "./content-assist"; /** * Build suggestions from parser's nextTokenTypes * * @param tokenTypes - Valid next tokens from parser.computeContentAssist() * @param schema - Schema information (tables, columns) * @param tablesInScope - Tables found in the query * @returns Array of suggestions */ export declare function buildSuggestions(tokenTypes: TokenType[], schema: SchemaInfo, tablesInScope: TableRef[], options?: { includeColumns?: boolean; includeTables?: boolean; includeScalarFunctions?: boolean; includeAggregateFunctions?: boolean; includeWindowFunctions?: boolean; includeTableValuedFunctions?: boolean; isMidWord?: boolean; /** Lowercased text the user is currently typing (the mid-word token). */ partialPrefix?: string; }): Suggestion[];