import type { Writable } from "svelte/store"; interface Serializer { parse(text: string): T; stringify(object: T): string; } type StorageType = "local" | "session"; interface Options { serializer?: Serializer; storage?: StorageType; } export declare function persisted(key: string, initialValue: T, options?: Options): Writable; export {};