import { Accessor, JSX, Signal } from 'solid-js'; import { createMutable } from 'solid-js/store'; declare type ComputedSetter = (v: T) => void; type ComputedGetter = (...args: any[]) => T; interface WritableComputedOptions { get: ComputedGetter; set: ComputedSetter; } type WritableComputedReturn = [Accessor, ComputedSetter]; declare function writableComputed(options: WritableComputedOptions): WritableComputedReturn; declare const reactive: typeof createMutable; declare function nextTick(this: T, fn?: (this: T) => void): Promise; type StyleValue = JSX.HTMLAttributes['style']; declare function isAccessor(val?: unknown): val is Accessor; declare function isSignal(val?: unknown): val is Signal; type SimpleSetter = (v?: T | ((val: T | undefined) => T)) => void; declare function toSignal(v: T | Accessor | Signal): Signal; declare function toAccessor(v: T | undefined | null | Accessor): Accessor; declare function getSetterValue(v: any, pre: T): T; declare function set(target: any, key: any, val: T): T; declare function del(target: any, key: any): void; declare const isFunction: (val: any) => val is T; export { ComputedGetter, ComputedSetter, SimpleSetter, StyleValue, WritableComputedOptions, WritableComputedReturn, del, getSetterValue, isAccessor, isFunction, isSignal, nextTick, reactive, set, toAccessor, toSignal, writableComputed };