import { Controller as DataController } from '@data-client/core'; import type { State, Manager, GCInterface } from '@data-client/core'; import { type ShallowRef, type App } from 'vue'; export interface ProvideOptions { managers?: Manager[]; initialState?: State; Controller?: typeof DataController; gcPolicy?: GCInterface; app?: App; } export interface ProvidedDataClient { controller: InstanceType; /** Optimistic overlay state ref provided to consumers */ stateRef: ShallowRef>; /** Start the provider (called on mount) */ start: () => void; /** Stop the provider (called on unmount) */ stop: () => void; } /** * Core provider logic that can be used by both composable and plugin. * This function handles the actual setup of the data client without Vue-specific concerns. */ export declare function createDataClient(options?: ProvideOptions): ProvidedDataClient; //# sourceMappingURL=createDataClient.d.ts.map