/** * Sums all values, building from the previous * @param xs list of values to compound */ export declare const compound: (xs: number[]) => number[]; /** * Build an array of offsets * @param viewport window width * @param values array of cell widths */ export declare const chunk: ({ viewport, values, }: { viewport: number; values: number[]; }) => number[]; /** Align last page to the left or right */ export declare type CarouselPaginationAlignment = "left" | "right"; export declare type CarouselPaginateBy = "page" | "cell"; interface PaginateCarouselProps { viewport: number; values: number[]; alignment?: CarouselPaginationAlignment; paginateBy?: CarouselPaginateBy; } /** * Creates an array of offsets based on the given viewport * @param viewport window width * @param values array of cell widths * @param alignment align last page to the left or right */ export declare const paginateCarousel: ({ viewport, values, alignment, paginateBy, }: PaginateCarouselProps) => number[]; export {};