import { StateFirstDB, RuntimeDiagnostics, FlowSpec } from '@feltdb/core'; import { StudioContext, DashboardStats } from '../types'; export declare function useFeltDB(db: StateFirstDB | null, namespace?: string): StudioContext | null; /** * useDashboardStats Hook - Get runtime statistics */ export declare function useDashboardStats(db: StateFirstDB | null, model?: FlowSpec | null, namespace?: string): DashboardStats | null; /** * useRuntimeDiagnostics Hook - Get health status */ export declare function useRuntimeDiagnostics(db: StateFirstDB | null): { diagnostics: RuntimeDiagnostics | null; loading: boolean; error: string | null; refresh: () => Promise; }; /** * useCollection Hook - Subscribe to collection changes */ export declare function useCollection(db: StateFirstDB | null, collectionName: string): { items: T[]; loading: boolean; error: string | null; }; /** * usePeers Hook - Monitor connected peers */ export declare function usePeers(db: StateFirstDB | null): string[]; /** * useProvenance Hook - Get provenance graph */ export declare function useProvenance(db: StateFirstDB | null, reference: string): { provenance: any; loading: boolean; error: string | null; }; //# sourceMappingURL=index.d.ts.map