unified-query
Version:
Composable search input with autocompletion and a rich query-language parser for the Unified Data System
10 lines (9 loc) • 353 B
TypeScript
import type { DateUtility, ParseError, Segment, TimestampValue } from '../parsers/types.js';
type Acceptable = TimestampValue | DateUtility;
export declare function timestampAnalyzer(seg: Segment, { allowBoolean }: {
allowBoolean?: boolean;
}): {
parsed: boolean | Acceptable[] | DateUtility | undefined;
errors: ParseError[];
};
export {};