import type { Readable } from 'svelte/store'; export interface PingInit extends RequestInit { url: string; retry?: number; abort?: number; payload?: boolean; } export interface SseInit { url: string; event?: string; withCredentials?: boolean; } export interface Config { ping?: PingInit | string; sse?: SseInit | string; } export interface Status { online: boolean; hidden: boolean; heartbeat: boolean; stream: boolean; } export declare function statusable(config?: Config): Readable;