import { ID } from "../../types/index.mjs"; import { RegistryContext, RegistryTicket, RegistryTicketInput } from "../createRegistry/index.mjs"; //#region src/composables/useProxyRegistry/index.d.ts interface ProxyRegistryOptions { deep?: boolean; } interface ProxyRegistryContext { keys: readonly ID[]; values: readonly Z[]; entries: readonly [ID, Z][]; size: number; } /** * Creates a proxy registry that provides reactive objects for registry data. * * @param registry The registry instance to proxy. * @param options The options for the proxy registry. * @template Z The input ticket type (what users provide to register). * @template E The output ticket type (what users receive from get/values). * @returns A proxy registry with reactive objects. * * @see https://0.vuetifyjs.com/composables/reactivity/use-proxy-registry * * @example * ```ts * import { createRegistry, useProxyRegistry } from '@vuetify/v0' * * const registry = createRegistry({ events: true }) * const proxy = useProxyRegistry(registry) * * registry.register({ value: 'Item 1' }) * console.log(proxy.size) // 1 * ``` */ declare function useProxyRegistry(registry: RegistryContext, options?: ProxyRegistryOptions): ProxyRegistryContext; //#endregion export { ProxyRegistryContext, ProxyRegistryOptions, useProxyRegistry };