import type { PanelSnapshot, PanelSummaryScriptResult, TargetPanelEntry } from './types.js'; export interface SummaryModeOption { key: string; label: string; type: 'ai' | 'git' | 'custom'; summary?: PanelSummaryScriptResult; hasData: boolean; } export declare const getLogChannels: (target: TargetPanelEntry | undefined) => string[]; /** * Reconcile the current log-channel index map with the active targets. * Returns a fresh map so callers can treat it immutably. */ export declare const syncLogChannelState: (targets: TargetPanelEntry[], previous: Map) => Map; export declare const getSelectedChannel: (logChannelIndex: Map, target: TargetPanelEntry | undefined) => string; export declare const getSummaryModes: (snapshot: PanelSnapshot) => SummaryModeOption[]; export declare const getSummaryLabel: (modes: SummaryModeOption[], mode: string) => string | undefined; export declare const resolveSummaryMode: (modes: SummaryModeOption[], desired: string) => string; export declare const getDefaultSummaryMode: (snapshot: PanelSnapshot) => string; export declare const findSummaryByMode: (modes: SummaryModeOption[], key: string) => PanelSummaryScriptResult | null; export declare const hasSummaryRow: (snapshot: PanelSnapshot) => boolean; export declare const getRowSummaries: (snapshot: PanelSnapshot) => PanelSummaryScriptResult[]; export declare const getSummarySummaries: (snapshot: PanelSnapshot) => PanelSummaryScriptResult[]; //# sourceMappingURL=panel-state.d.ts.map