UNPKG

unified-query

Version:

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

9 lines (8 loc) 350 B
import type { Segment, ParsedKeyword } from '../parsers/types.js'; /** * Semantic analyser for `@id`. * * • Accepts only `uuid` tokens and returns their `.value` strings in order. * • Any other token kind is reported as an “invalid token for @id” error. */ export declare function analyzeId(seg: Segment): ParsedKeyword<'id', string[]>;