import type { EndpointInterface, Denormalize, Schema, FetchFunction, ResolveType, DenormalizeNullable } from '@data-client/core'; import type { DeepReadonly, ComputedRef } from 'vue'; import type { MaybeRefsOrGetters, MaybeRefsOrGettersNullable } from '../types.js'; /** * Ensure an endpoint is available. Keeps it fresh once it is. * * useSuspense() + useSubscription() * @see https://dataclient.io/docs/api/useLive * @throws {Promise} If data is not yet available. * @throws {NetworkError} If fetch fails. */ export default function useLive>(endpoint: E, ...args: MaybeRefsOrGetters>): Promise : Denormalize>>>; export default function useLive>(endpoint: E, ...args: MaybeRefsOrGettersNullable> | readonly [null]): Promise | undefined : DenormalizeNullable>>>; //# sourceMappingURL=useLive.d.ts.map