import type { BodyRow } from '../bodyRows.js'; import type { NewTablePropSet, TablePlugin } from '../types/TablePlugin.js'; import { type RecordSetStore } from '../utils/store.js'; import { type Readable, type Writable } from 'svelte/store'; export interface ExpandedRowsConfig { initialExpandedIds?: Record; } export interface ExpandedRowsState { expandedIds: RecordSetStore; getRowState: (row: BodyRow) => ExpandedRowsRowState; } export interface ExpandedRowsRowState { isExpanded: Writable; canExpand: Readable; isAllSubRowsExpanded: Readable; } export declare const addExpandedRows: ({ initialExpandedIds }?: ExpandedRowsConfig) => TablePlugin, Record, NewTablePropSet>;