import type React from 'react'; import type { KanbanGroupBy } from './preferences.js'; import { type SessionKanbanColumn } from './kanban-model.js'; export interface SessionsKanbanTeam { key: string; label: string; botIds: Set; botNames: Set; groupChats: Set; } export interface SessionsKanbanTeamBoardData { board: Record; remoteRows: any[]; } export interface SessionsKanbanIcons { details: string; feishu: string; history: string; key: string; lock: string; restart: string; close: string; terminal: string; unlock: string; } export interface SessionsKanbanMove { row: any; column: SessionKanbanColumn; position: number; } export interface SessionsKanbanState { rows: any[]; groupBy: KanbanGroupBy; teams: SessionsKanbanTeam[]; teamsLoaded: boolean; teamKey: string; teamBoardData: SessionsKanbanTeamBoardData | null; teamBoardKey: string; } export interface SessionsKanbanCallbacks { canRestartSession: (row: any) => boolean; getTeamChatIds: (team: SessionsKanbanTeam | undefined) => Set; icons: SessionsKanbanIcons; lockActionLabel: (row: any) => string; sessionStatusText: (status: unknown) => string; onClose?: (row: any, button?: HTMLButtonElement) => void; onDetails: (row: any) => void; onHistory: (row: any) => void; onMoveRows: (moves: SessionsKanbanMove[]) => void; onNeedTeamBoard: (team: SessionsKanbanTeam) => void; onNeedTeams: () => void; onOpenTerminal?: (row: any) => void; onOpenWritableTerminal?: (row: any, button: HTMLButtonElement) => void; onRename: (row: any, title: string) => void; onRestart: (row: any, button: HTMLButtonElement) => void; onTeamScope: (scope: { chats: number; sessions: number; } | null) => void; onToggleLock: (row: any, button: HTMLButtonElement) => void; onToggleSelect: (row: any) => void; selectedSessionIds: ReadonlySet; } export type SessionsKanbanProps = SessionsKanbanState & SessionsKanbanCallbacks & { host: HTMLElement | null; }; export declare const KANBAN_DONE_CAP = 50; export declare function SessionsKanbanView(props: SessionsKanbanProps): React.JSX.Element; //# sourceMappingURL=sessions-kanban.d.ts.map