import type { Snippet } from 'svelte'; import type { BreadcrumbItem } from '../../molecules/Breadcrumb/Breadcrumb.svelte'; import type { FilterChip } from '../../molecules/FilterBar/FilterBar.svelte'; import type { FilterSummaryItem } from '../../molecules/FilterSummary/FilterSummary.svelte'; import type { TaskPriority } from '../../molecules/TaskRow/TaskRow.svelte'; import type { BulkAction } from '../../molecules/BulkActionBar/BulkActionBar.svelte'; import type { StatStripItem } from '../../molecules/StatStrip/StatStrip.svelte'; export type BacklogView = 'all' | 'open' | 'done' | 'overdue'; export type BacklogSort = 'priority' | 'due' | 'title' | 'assignee'; export interface BacklogTask { id: string; title: string; completed?: boolean; priority?: TaskPriority; /** Display label, e.g. "Jul 28" */ due?: string; /** ISO date (YYYY-MM-DD) for overdue + sort */ dueDate?: string; assignee?: string; epic?: string; estimate?: string; tags?: string[]; } interface BacklogPageProps { title?: string; description?: string; breadcrumbs?: BreadcrumbItem[]; tasks?: BacklogTask[]; /** Active filter chips (FilterBar) */ filters?: FilterChip[]; /** Legacy summary chips under the bar */ filterSummary?: FilterSummaryItem[]; query?: string; view?: BacklogView; sort?: BacklogSort; selected?: string[]; stats?: StatStripItem[]; loading?: boolean; selectable?: boolean; readonly?: boolean; showSidebar?: boolean; showSearch?: boolean; showViewFilter?: boolean; showSort?: boolean; showBulkActions?: boolean; summaryTitle?: string; addLabel?: string; searchPlaceholder?: string; emptyTitle?: string; emptyDescription?: string; bulkActions?: BulkAction[]; class?: string; actions?: Snippet; toolbar?: Snippet; sidebar?: Snippet; emptyAction?: Snippet; onadd?: () => void; ontoggle?: (id: string, completed: boolean) => void; onclicktask?: (id: string) => void; onfilterclear?: (id: string) => void; onfilterclearall?: () => void; onbulk?: (action: string, ids: string[]) => void; onquerychange?: (query: string) => void; onviewchange?: (view: BacklogView) => void; onsortchange?: (sort: BacklogSort) => void; } declare const BacklogPage: import("svelte").Component; type BacklogPage = ReturnType; export default BacklogPage;