import type { GetNavigationV2Parameters, GetNavigationV2ByReferenceKeyParams, NavigationV2AllEndpointResponseData, RpcHandler, NavigationV2ByReferenceEndpointResponseData } from '@scayle/storefront-nuxt'; /** * Fetches all navigation trees. * * This function uses the Storefront cache (`cached()`) with a `getAll-navigationv2-trees` key prefix to improve performance. * Cached entries are returned if found; otherwise, data is fetched and cached. * * @param params The parameters for retrieving all navigation tress. * @param params.params The parameters for fetching navigation trees. * @param context The RPC context. * * @returns The navigation trees data. It will return an `ErrorResponse` * if an error occurs during fetching. */ export declare const getAllNavigations: RpcHandler; /** * Fetches a navigation tree by its reference key. * * This function uses the Storefront cache (`cached()`) with a `getByReferenceKey-navigation-trees-${referenceKey}` key prefix to improve performance. * Cached entries are returned if found; otherwise, data is fetched and cached. * * @param params The parameters for retrieving a navigation tree by its reference key. * @param params.referenceKey The reference key of the navigation tree. * @param params.params The parameters for fetching navigation trees. * @param context The RPC context. * * @returns The navigation tree data. It will return an `ErrorResponse` * if an error occurs during fetching. */ export declare const getNavigationsByReferenceKey: RpcHandler;