/** * Application-wide constants * * This module centralizes magic numbers and configuration values * to improve maintainability and provide a single source of truth. */ export declare const ApiLimits: { /** Default limit for task listings */ readonly TASKS_DEFAULT: 10; /** Maximum limit for task search and list operations */ readonly TASKS_MAX: 100; /** Default limit for completed tasks */ readonly COMPLETED_TASKS_DEFAULT: 50; /** Maximum limit for completed tasks */ readonly COMPLETED_TASKS_MAX: 200; /** Default limit for project listings */ readonly PROJECTS_DEFAULT: 50; /** Maximum limit for project listings */ readonly PROJECTS_MAX: 200; /** Maximum limit for section listings */ readonly SECTIONS_MAX: 200; /** Batch size for fetching all tasks in a project */ readonly TASKS_BATCH_SIZE: 50; /** Maximum number of direct children returned when children are requested alongside an object */ readonly CHILDREN_MAX: 25; /** Default limit for comment listings */ readonly COMMENTS_DEFAULT: 10; /** Maximum limit for comment search and list operations */ readonly COMMENTS_MAX: 10; /** Maximum number of users a single comment can notify */ readonly NOTIFY_USERS_MAX: 25; /** Default limit for activity log listings */ readonly ACTIVITY_DEFAULT: 20; /** Maximum limit for activity log search and list operations */ readonly ACTIVITY_MAX: 100; /** Default limit for label listings */ readonly LABELS_DEFAULT: 50; /** Maximum limit for label listings */ readonly LABELS_MAX: 200; /** Default limit for reminder listings */ readonly REMINDERS_DEFAULT: 50; /** Maximum limit for reminder search operations */ readonly REMINDERS_MAX: 200; }; export declare const DisplayLimits: { /** Maximum number of failures to show in detailed error messages */ readonly MAX_FAILURES_SHOWN: 3; /** Threshold for suggesting batch operations */ readonly BATCH_OPERATION_THRESHOLD: 10; }; export declare const LogLimits: { /** Maximum number of failed items named in one log line */ readonly MAX_FAILURES_LOGGED: 5; }; export declare const BatchLimits: { /** Maximum tasks accepted by one task create or update operation */ readonly TASKS_PER_OPERATION: 25; }; export declare const ConcurrencyLimits: { /** * In-flight task-move requests per account, per process. * * Kept at 1 because the API locks the whole task tree for a move, and a tree * spans a task's source as well as its destination — two moves of sibling * subtasks contend even when they target different projects, and the loser * fails. Batching same-destination moves into a single request means * serialising costs little in practice. One per process is the smallest * contribution a process can make; see the note above for the global picture. */ readonly TASK_MOVES: 1; /** In-flight non-move write requests per account, per process. */ readonly WRITES: 4; /** * How long a request may wait for a slot before it is abandoned unsent. * * Matches the SDK's own 30s request timeout, which only starts once a request * actually goes out: a task that has already waited that long would be * answering a caller who has given up. Comfortably above the worst realistic * queue (serialised moves to 100 distinct destinations is roughly 15s). */ readonly QUEUE_WAIT_MS: 30000; }; export declare const ResponseConfig: { /** Maximum characters per line in text responses */ readonly MAX_LINE_LENGTH: 100; /** Indentation for nested items */ readonly INDENT_SIZE: 2; }; //# sourceMappingURL=constants.d.ts.map