export default function rotate(items: T[], offset: number): T[];