UNPKG

unified-query

Version:

Composable search input with autocompletion and a rich query-language parser for the Unified Data System

9 lines (8 loc) 316 B
import type { Segment, ParsedKeyword, Kind } from '../parsers/types.js'; export declare const KINDS: Kind[]; /** * `@kind` analyser * • Accepts only string tokens. * • Each string must be present in the KINDS allow-list. */ export declare function analyzeKind(seg: Segment): ParsedKeyword<'kind', string[]>;