import type { SignalLifecycleHook, SignalOptions } from "../../signals/types/index.js"; /** * Devtools writer for a single signal: pushes new values under its key and, via * {@link TDevtoolsStateUpdater.complete}, the disposal marker that drops the * entry from the tree. */ export type TDevtoolsStateUpdater = ((newState: T, actionName?: string) => void) & { complete(): void; }; export declare const Devtools: { createState(initialValue: T, optionsDry?: SignalOptions | string): TDevtoolsStateUpdater | null; createSignalHooks(initialValue: T, options?: SignalOptions): SignalLifecycleHook | null; readonly hasDevtools: boolean; };