import { type VerifyPolicy } from "../work-items/verify-policy.js"; /** * Argument validation for the Todo tools: the shape checks every handler runs * before it touches the gateway. * * Each one fails with a message that names the field and says what would be * accepted, because the caller is a model reading the error and retrying — a * bare "invalid input" costs a whole round trip to learn nothing. */ export declare const FILTER_CHAR_CAP = 256; export declare const WORK_ITEM_LABELS_MAX = 100; export declare const RELATION_KINDS: readonly ["blocks", "relates", "duplicates"]; export declare function assertLength(name: string, value: string, max: number): void; export declare function requireString(args: Record, name: string, max?: number): string; export declare function requireTodoId(args: Record): string; export declare function requireTodoIdField(args: Record, name: string): string; export declare function optionalTodoIdField(args: Record, name: string): string | undefined; export declare function requireRelationKind(args: Record): (typeof RELATION_KINDS)[number]; export declare function requireLabelRefs(args: Record): string[]; /** Which label operation this call is, as the route's own body: `mode` names what * to do with `labels`, and its absence is what replacing the whole set looks like. */ export declare function requireLabelChange(args: Record): Record; export declare function optionalString(args: Record, name: string, max?: number): string | undefined; export declare function optionalEnum(args: Record, name: string, values: T): T[number] | undefined; export declare function clampInt(value: unknown, fallback: number, min: number, max: number): number; /** Shape only — whether the names exist is decided against the live skills * directory server-side, which is the only place that can know. */ export declare function requireSkillNames(args: Record): string[]; /** The declared verify policy, refused with the same named error the gateway * route would give it, or undefined when the caller declared none. */ export declare function validatedVerifyPolicy(args: Record): VerifyPolicy | null | undefined; //# sourceMappingURL=work-item-args.d.ts.map