import { type Readable, type Signal } from '@vielzeug/ripple'; /** * Creates a local writable `Signal` that stays in sync with an external * `Reactive`. When `abortSignal` is provided the watcher subscription * is disposed automatically on abort; otherwise the caller is responsible for * disposal. * * Initialised synchronously via `untrack` so the first render never reads a * stale value. The optional `transform` coerces each incoming value (e.g. * `Boolean`, `String`). * * @example * ```ts * const value = syncedSignal(options.value, options.signal, (v) => String(v ?? '')); * // Without lifecycle signal (test / non-component context): * const value = syncedSignal(source); * ``` */ export declare const syncedSignal: (source: Readable, abortSignal?: AbortSignal, transform?: (value: TIn) => TOut) => Signal; //# sourceMappingURL=signals.d.ts.map