export interface StorySlide { id?: string; /** Image or poster URL */ src: string; duration?: number; caption?: string; } export interface StoryItem { id: string; name: string; avatar?: string; seen?: boolean; live?: boolean; /** “Your story” / add ring */ add?: boolean; slides?: StorySlide[]; } export type StoriesSize = 'sm' | 'md' | 'lg'; interface StoriesProps { items?: StoryItem[]; size?: StoriesSize; activeId?: string | null; open?: boolean; duration?: number; showLabels?: boolean; /** Min px to swipe between stories */ swipeThreshold?: number; class?: string; onselect?: (id: string) => void; onopen?: (id: string) => void; onclose?: () => void; onseen?: (id: string) => void; onadd?: () => void; oncomplete?: () => void; } declare const Stories: import("svelte").Component; type Stories = ReturnType; export default Stories;