import type { Event } from '@workflow/world'; export type ExactWorkflowSearchIdKind = 'step' | 'wait' | 'hook' | 'event'; export type ExactWorkflowSearchId = { kind: ExactWorkflowSearchIdKind; id: string; }; export type ExactIdSearchResult = { status: 'ok'; events: Event[]; truncated?: boolean; } | { status: 'not_found'; } | { status: 'error'; message: string; }; /** * Returns a parsed workflow ID when `query` is a full step, wait, hook, or event ID. * Partial IDs and run IDs (`wrun_`) are ignored. ULID bodies are matched case-insensitively * and normalized to uppercase in the returned ID. */ export declare function parseExactWorkflowSearchId(query: string): ExactWorkflowSearchId | null; /** True when input looks like the user is attempting an ID search (including partial). */ export declare function looksLikeWorkflowIdSearchInput(query: string): boolean; //# sourceMappingURL=exact-event-search-id.d.ts.map