import type { Snippet } from 'svelte'; export interface PlaylistTrack { id: string; title: string; artist?: string; album?: string; src: string; artwork?: string; durationLabel?: string; explicit?: boolean; liked?: boolean; } interface PlaylistProps { tracks?: PlaylistTrack[]; activeId?: string; playing?: boolean; /** Playlist title in the header */ title?: string; subtitle?: string; /** * comfortable — artwork + generous padding * compact — denser rows * minimal — no artwork column */ density?: 'comfortable' | 'compact' | 'minimal'; /** Show # / play column */ numbered?: boolean; showArtwork?: boolean; showAlbum?: boolean; showHeader?: boolean; /** Max height; enables internal scroll */ maxHeight?: string; emptyLabel?: string; class?: string; headerActions?: Snippet; /** Extra controls per row (e.g. more menu) */ rowActions?: Snippet<[PlaylistTrack, number]>; onselect?: (track: PlaylistTrack, index: number) => void; onlike?: (track: PlaylistTrack, index: number) => void; } declare const Playlist: import("svelte").Component; type Playlist = ReturnType; export default Playlist;