import type { ColumnsConfig, DatagridPluginElement, EditMode } from "../types.ts"; interface RestoreToken { edit_mode?: EditMode; scroll_lock?: boolean; column_menus?: unknown; command_column?: unknown; command_cells?: unknown; font_family?: unknown; font_size?: unknown; word_wrap?: unknown; bold?: unknown; italic?: unknown; align?: unknown; row_height?: unknown; zebra_rows?: unknown; zebra_color?: unknown; } export declare function positive_px(raw: unknown): number | undefined; /** * Publish `--psp-datagrid--wrap-lines`, the number of lines that fit in a * row at the grid's font size and row height. */ export declare function sync_wrap_lines(this: DatagridPluginElement): void; export declare function restore(this: DatagridPluginElement, token: RestoreToken, columns: ColumnsConfig): void; export {};