import type { AnySignal, Morph, Mountable, ReadableSignal, WritableSignal } from './internals/types.js'; import { signal, computed, batch, nextValue, signalNextValue } from './internals/system.js'; export { signal, computed, batch, nextValue, signalNextValue }; /** * Listen for mount and unmount events on a mountable signal. * @param $signal - The signal to subscribe to. * @param listener - The listener to call when the signal is mounted or not. * @returns A function to stop the subscription. */ export declare function onMounted($signal: Mountable, listener: (mounted: boolean) => void): import("./internals/types.js").Destroy; export declare function morph>>($signal: WritableSignal, context: C): WritableSignal; export declare function morph>>($signal: ReadableSignal, context: C): ReadableSignal; //# sourceMappingURL=signal.d.ts.map