UNPKG

unified-query

Version:

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

8 lines (7 loc) 340 B
import type { Segment, ParsedKeyword } from '../parsers/types.js'; /** * `@todo` is a parameter-less flag (alias for “@completed false”). * • If *no* tokens follow → parsed = true (flag enabled). * • Any token present → semantic error. */ export declare function analyzeTodo(seg: Segment): ParsedKeyword<'todo', undefined>;