import { f as Computed } from "../children-s3nFjpLA.mjs"; //#region src/utilities/previous.d.ts /** * Returns a `Computed` that always holds the *previous* value of `source`. * Starts as `undefined` until the source changes for the first time. * * When `ignore` is provided, the previous value only updates when the ignore check fails. * * @example * ```ts * import { signal } from "elements-kit/signals"; * import { createPrevious } from "elements-kit/utilities/previous"; * * const count = signal(0); * const prev = createPrevious(count); * * count(1); prev(); // 0 * count(2); prev(); // 1 * ``` */ declare function createPrevious(source: Computed, ignore?: (a: T, b: T) => boolean): Computed; //#endregion export { createPrevious };