import type { SearchWorkItemsFilter } from "../work-items/store.js"; export interface WorkItemQueryParams { filter: SearchWorkItemsFilter; limit: number; offset: number; } /** Route-side cap for search query/text params (GRS-020a-fix finding 3). The * MCP tools cap earlier with a friendlier error; this is the substrate * backstop so a hostile curl gets a clean 400, never HTTP-parser noise. */ export declare const SEARCH_QUERY_ROUTE_CHAR_CAP = 1024; /** Read a query param with NUL/control bytes stripped (GRS-020a-fix finding 2) * and whitespace trimmed; empty-after-cleaning collapses to null. */ export declare function readCleanSearchParam(url: URL, name: string): string | null; export declare const ISO_DATE_OR_INSTANT: RegExp; export declare function readWorkItemQueryParams(url: URL): { ok: true; value: WorkItemQueryParams; } | { ok: false; error: string; }; //# sourceMappingURL=work-item-query.d.ts.map