import type { TaskEntity } from "./types.js";
/** Hard cap for `list-tasks` `limit` (abuse / payload size). */
export declare const LIST_TASKS_MAX_LIMIT = 500;
/** Default `limit` when the client passes `cursor` without an explicit `limit`. */
export declare const LIST_TASKS_DEFAULT_LIMIT = 100;
export declare function listTasksComparator(a: TaskEntity, b: TaskEntity): number;
export declare function encodeListTasksCursor(task: TaskEntity): string;
export declare function decodeListTasksCursor(cursor: string): {
    u: string;
    i: string;
} | null;
/**
 * True when `task` is strictly after `cursor` in `listTasksComparator` sort order
 * (older / lower-priority rows for paging).
 */
export declare function listTaskIsAfterCursor(task: TaskEntity, cursor: {
    u: string;
    i: string;
}): boolean;
