UNPKG

@shopware-ag/meteor-admin-sdk

Version:

The Meteor SDK for the Shopware Administration.

22 lines (21 loc) 524 B
import type { UnwrapRef, Ref } from 'vue'; /** * @internal * @private */ export declare function _useSharedState<INITIAL_VALUE>(key: string, initalValue: INITIAL_VALUE): { state: { value: UnwrapRef<INITIAL_VALUE>; }; isReady: Ref<boolean>; ready: Promise<void>; }; /** * * @param key - Shared state key * @param initalValue - Initial value * @returns */ export declare function useSharedState<INITIAL_VALUE>(key: string, initalValue: INITIAL_VALUE): { value: UnwrapRef<INITIAL_VALUE>; };