import type { BodyRow } from '../bodyRows.js'; import type { NewTablePropSet, TablePlugin } from '../types/TablePlugin.js'; import { type Writable } from 'svelte/store'; export interface FlattenConfig { initialDepth?: number; } export interface FlattenState { depth: Writable; } export interface FlattenColumnOptions { } export type FlattenPropSet = NewTablePropSet<{ 'tbody.tr.td': { flatten: (depth: number) => void; unflatten: () => void; }; }>; export declare const getFlattenedRows: >(rows: Row[], depth: number) => Row[]; export declare const addFlatten: ({ initialDepth }?: FlattenConfig) => TablePlugin, FlattenPropSet>;