import type { KeysOf, NormalizedRpcResponse, UseRpcCacheKey, UseRpcOptions, UseRpcReturn } from '@scayle/storefront-nuxt/composables'; import type { MaybeRefOrGetter } from 'vue'; import type { RpcMethodParameters } from '@scayle/storefront-nuxt'; /** * Access all navigation trees. * * @param config An object containing parameters and options for the RPC call. * @param config.params Parameters for fetching navigation trees. * @param config.options Options for the underlying `useRpc` call, controlling data handling and loading state. * @param key A unique key for this RPC call. Used internally by `useRpc` for caching and state management. * * @returns The navigation trees data. It will return an `ErrorResponse` if an error occurs during fetching. */ export declare function useNavigations, PickKeys extends KeysOf = KeysOf, DefaultT = null>({ params, options, }?: Partial<{ params: MaybeRefOrGetter>; options: UseRpcOptions<'getAllNavigations', DataT, PickKeys, DefaultT>; }>, key?: UseRpcCacheKey): UseRpcReturn<'getAllNavigations', DataT, PickKeys, DefaultT>;