import preact from "preact"; export declare const errorMessage: string; export declare const warnMessage: string; export type RowType = { [columnName: string]: unknown; }; export type FormatContext = { row?: RowT; columnName?: RowT extends undefined ? string : keyof RowT; }; export type JSXFormatter = (StringFormatters | `varray:${StringFormatters}` | `link:${string}` | ((value: T, context?: FormatContext) => preact.ComponentChild)); type StringFormatters = ("guess" | "string" | "number" | "timeSpan" | "date" | "error" | "link" | "toSpaceCase"); export declare function toSpaceCase(text: string): string; export declare function formatValue(value: unknown, formatter?: JSXFormatter, context?: FormatContext): preact.ComponentChild; export {};