5d5300e2b75f8267cbabbc8e1302084a1fd7f71a8f247cc953fc202c46c2964b662ed0ec289586429c0264a251b1c787d8e96deaaf66c0754e5be1c6dfc001 394 B

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