import type { CellValue } from "../types"; export type Headers = string[]; export type Data = CellValue[][]; export type Datatype = "str" | "number" | "bool" | "date" | "markdown" | "html" | "image"; export type Metadata = { [key: string]: string[][] | null; } | null; export type DataframeValue = { data: Data; headers: Headers; metadata?: Metadata; }; /** * Coerce a value to a given type. * @param v - The value to coerce. * @param t - The type to coerce to. * @returns The coerced value. */ export declare function cast_value_to_type(v: any, t: Datatype): CellValue; export interface EditData { index: number | [number, number]; value: string; previous_value: string; }