货无忧

15 lines
439 B

2 years ago
import { InjectionKey, Ref } from 'vue'
import type { Loading, LoadingOptions } from './types'
/**
* useLoading key
*
* @internal
*/
export declare const loadingDefaultKey: InjectionKey<Ref<boolean>>
export declare const loadingDefaultOptionKey: InjectionKey<Ref<LoadingOptions>>
/**
*
*/
export declare const defaultLoadingOptions: LoadingOptions
export declare function useLoading(selector?: string): Loading