import type { ColumnOverrides, DatagridPluginElement } from "../types.js"; interface DatagridPluginWithCache extends DatagridPluginElement { _cached_column_sizes?: ColumnOverrides; } /** * Restore a saved column width override token. * * @param old_sizes An object previously returned by a call to * `save_column_size_overrides()` * @param cache A flag indicating whether this value should * be cached so a future `resetAutoSize()` call does not clear it. */ export declare function restore_column_size_overrides(this: DatagridPluginWithCache, old_sizes: ColumnOverrides, cache?: boolean): void; /** * Extract the current user-overriden column widths from * `regular-table`. This function depends on the internal * implementation of `regular-table` and may break! * * @returns An Object-as-dictionary keyed by column_path string, and * valued by the column's user-overridden pixel width. */ export declare function save_column_size_overrides(this: DatagridPluginWithCache): ColumnOverrides; export {};