import type { AutoCompleteOption, OptionGroup } from "../AutoSuggest.types.js";
import type { InternalParsedTextState, InternalPropertyDefinition, InternalPropertyOption } from "../TokenFilter.types.js";
/**
 * Generates "options" to be used as autosuggest-ottion based on the current query state.
 *
 * The query parser recognizes three states:
 * - "property": User has selected/matched a property and operator ("Status = active")
 * - "operator": User has matched a property but is typing the operator ("Status" or "Status !")
 * - "free-text": User is typing freely without a property match (e.g., "act" or "!: test")
 *
 * @returns
 * - value: The canonical query string representation for the current state.
 *   Used by the UI to determine cursor position and input replacement.
 * - options: Grouped suggestions to display (properties, operators, or values).
 */
type AutoCompleteResult = {
    value: string;
    options: OptionGroup<AutoCompleteOption>[];
};
declare function generateAutoCompleteOptions(queryState: InternalParsedTextState, filteringProperties?: InternalPropertyDefinition[], filteringOptions?: InternalPropertyOption[]): AutoCompleteResult;
export { generateAutoCompleteOptions };
