import { IkasCustomerReviewSummaryList } from "../../../storefront-models/src"; /** * Checks whether the customer review summary list has a previous page available for navigation. * * @ai-category CustomerReview, Pagination * @ai-related hasCustomerReviewSummaryListNextPage, getCustomerReviewSummaryListPrev, getCustomerReviewSummaryListPage * * @param list - The customer review summary list to check for a previous page. * @returns True if a previous page exists, false otherwise. * * @example * ```typescript * import { hasCustomerReviewSummaryListPrevPage } from "@ikas/bp-storefront"; * if (hasCustomerReviewSummaryListPrevPage(summaryList)) { * // Show previous page button * } * ``` */ export declare function hasCustomerReviewSummaryListPrevPage(list: IkasCustomerReviewSummaryList): boolean; /** * Checks whether the customer review summary list has a next page available for navigation. * * @ai-category CustomerReview, Pagination * @ai-related hasCustomerReviewSummaryListPrevPage, getCustomerReviewSummaryListNextPage, getCustomerReviewSummaryListPage * * @param list - The customer review summary list to check for a next page. * @returns True if a next page exists, false otherwise. * * @example * ```typescript * import { hasCustomerReviewSummaryListNextPage } from "@ikas/bp-storefront"; * if (hasCustomerReviewSummaryListNextPage(summaryList)) { * // Show next page button * } * ``` */ export declare function hasCustomerReviewSummaryListNextPage(list: IkasCustomerReviewSummaryList): boolean; /** * Fetches and populates the initial data for a customer review summary list, including the first page of summaries. * * @ai-category CustomerReview, ReviewList * @ai-related getCustomerReviewSummaryListPage, getCustomerReviewSummaryListNextPage, getCustomerReviewSummaryListPrev * * @param list - The customer review summary list to initialize with data. * @returns A promise that resolves when the initial data has been loaded. * * @example * ```typescript * import { getCustomerReviewSummaryListInitialData } from "@ikas/bp-storefront"; * await getCustomerReviewSummaryListInitialData(summaryList); * ``` */ export declare function getCustomerReviewSummaryListInitialData(list: IkasCustomerReviewSummaryList): Promise; /** * Fetches the previous page of customer review summaries and prepends them to the existing list data. * * @ai-category CustomerReview, Pagination * @ai-related hasCustomerReviewSummaryListPrevPage, getCustomerReviewSummaryListNextPage, getCustomerReviewSummaryListPage * * @param list - The customer review summary list to load the previous page for. * @returns A promise that resolves when the previous page has been loaded and prepended. * * @example * ```typescript * import { getCustomerReviewSummaryListPrev, hasCustomerReviewSummaryListPrevPage } from "@ikas/bp-storefront"; * if (hasCustomerReviewSummaryListPrevPage(summaryList)) { * await getCustomerReviewSummaryListPrev(summaryList); * } * ``` */ export declare function getCustomerReviewSummaryListPrev(list: IkasCustomerReviewSummaryList): Promise; /** * Fetches the next page of customer review summaries and appends them to the existing list data. * * @ai-category CustomerReview, Pagination * @ai-related hasCustomerReviewSummaryListNextPage, getCustomerReviewSummaryListPrev, getCustomerReviewSummaryListPage * * @param list - The customer review summary list to load the next page for. * @returns A promise that resolves when the next page has been loaded and appended. * * @example * ```typescript * import { getCustomerReviewSummaryListNextPage, hasCustomerReviewSummaryListNextPage } from "@ikas/bp-storefront"; * if (hasCustomerReviewSummaryListNextPage(summaryList)) { * await getCustomerReviewSummaryListNextPage(summaryList); * } * ``` */ export declare function getCustomerReviewSummaryListNextPage(list: IkasCustomerReviewSummaryList): Promise; /** * Navigates to a specific page of customer review summaries, replacing the current list data with the requested page. * * @ai-category CustomerReview, Pagination * @ai-related getCustomerReviewSummaryListNextPage, getCustomerReviewSummaryListPrev, getCustomerReviewSummaryListInitialData * * @param list - The customer review summary list to load the page for. * @param page - The page number to navigate to. * @returns A promise that resolves when the specified page has been loaded. * * @example * ```typescript * import { getCustomerReviewSummaryListPage } from "@ikas/bp-storefront"; * await getCustomerReviewSummaryListPage(summaryList, 3); * ``` */ export declare function getCustomerReviewSummaryListPage(list: IkasCustomerReviewSummaryList, page: number): Promise;