mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 09:41:17 +00:00
10 lines
394 B
TypeScript
10 lines
394 B
TypeScript
import { type MaybeRef } from '@vueuse/core';
|
|
import type { InjectionKey, Ref } from 'vue';
|
|
export 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>) => Ref<string>;
|