import { f as Computed } from "../children-s3nFjpLA.mjs"; //#region src/utilities/throttled.d.ts /** * Returns a `Computed` that mirrors `getter` but updates at most once per * `interval` milliseconds. A trailing-edge update is scheduled so the final * value is never lost. * * The initial value is read synchronously. * * @example * ```ts * import { signal } from "elements-kit/signals"; * import { createThrottled } from "elements-kit/utilities/throttled"; * * const scrollY = signal(0); * const sampled = createThrottled(scrollY, 100); * * effect(() => analytics.record(sampled())); * ``` */ declare function createThrottled(getter: () => T, interval: number): Computed; //#endregion export { createThrottled };