import type { PaginationParams } from '../../providers/database/pagination/schemas.js';
export type ListResponseResult<T extends {
    id: string;
}> = {
    object: 'list';
    items: T[];
    page: {
        total: number;
        limit: number;
        hasNextPage: boolean;
        hasPrevPage: boolean;
        startCursor: string | null;
        endCursor: string | null;
    };
};
export declare function prepareListResponse<T extends {
    id: string;
}>({ data, params, totalCount, nameTransformationsFromDatabase, hasMore }: {
    data: T[];
    params: PaginationParams;
    totalCount?: number;
    nameTransformationsFromDatabase?: Record<string, string>;
    hasMore?: boolean;
}): ListResponseResult<T>;
//# sourceMappingURL=prepare-list-response.d.ts.map