import type { SQLiteSelect } from 'drizzle-orm/sqlite-core';
import type { PaginationParams } from './schemas.js';
export declare const DEFAULT_LIMIT = 10;
export declare const MAX_PAGINATION_LIMIT = 100;
export declare function getEffectivePaginationLimit(params: PaginationParams): number;
/**
 * Applies a LIMIT clause with a global maximum cap.
 */
export declare function applyLimit<T extends SQLiteSelect>(sqlBuilder: T, paginationParams: PaginationParams): T;
//# sourceMappingURL=limit.d.ts.map