import { Readable } from 'svelte/store'; interface Options { delay?: number; duration?: number | ((from: T, to: T) => number); easing?: (t: number) => number; interpolate?: (a: T, b: T) => (t: number) => T; } declare type Updater = (target_value: T, value: T) => T; interface Tweened extends Readable { set(value: T, opts?: Options): Promise; update(updater: Updater, opts?: Options): Promise; } export declare function tweened(value?: T, defaults?: Options): Tweened; export {};