zhangyong
2023-08-22 1353e87cb21a4032d585d7404bae9042f2ebcf08
1
2
3
4
5
6
7
8
9
import type { InjectionKey, Ref } from 'vue';
import type { MaybeRef } from '@vueuse/core';
export declare type ElIdInjectionContext = {
    prefix: number;
    current: number;
};
export declare const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext>;
export declare const useIdInjection: () => ElIdInjectionContext;
export declare const useId: (deterministicId?: MaybeRef<string> | undefined) => Ref<string>;