import { type Transaction, type TransactionsRecord } from "@olenbetong/appframe-updater"; export declare const DEFAULT_TABLE_SEPARATOR = " \u2502 "; export declare const STATUS_DIRTY_INDICATOR = "*"; export interface TableColumn { key: keyof Row; header: string; min: number; max: number; weight: number; shrinkPriority?: number; } export interface EditorTransactionRow { Namespace: string; Name: string; CreatedBy: string; Status: string; LastError?: string; [key: string]: string | undefined; } export declare function sanitizeCellValue(value: unknown): string; export declare function truncateCellValue(value: string, width: number): string; export declare function calculateColumnWidths>({ columns, rows, totalWidth, separator, }: { columns: TableColumn[]; rows: Row[]; totalWidth: number; separator?: string; }): number[]; export declare function formatRowLines>({ row, columns, widths, separator, }: { row: Row; columns: TableColumn[]; widths: number[]; separator?: string; }): string[]; export declare function addViewportEllipsis(line: string): string; export declare function createMessageLine(message: string, tableWidth: number, lineWidth: number, prefix?: string): string; export declare function createStatusLine(message: string, stats: string, lineWidth: number, prefix?: string): string; export declare function createTransactionColumns(showError: boolean): TableColumn[]; export declare function mapTransactionsToRows(transactions: Transaction[], showError: boolean): EditorTransactionRow[]; export declare function formatTransactionsPreview(records: TransactionsRecord[]): string; export declare function resolveEditorCommand(): { command: string; args: string[]; label: string; };