/** * Column information from stdb_columns */ export interface ColumnInfo { table_id: number; col_pos: number; col_name: string; col_type: string; is_autoinc: boolean; } /** * Table information from stdb_tables */ export interface TableInfo { table_id: number; table_name: string; is_public: boolean; } /** * Discover all public tables in a database using spacetime describe */ export declare function discoverAllTables(database: string): Promise; /** * Get all table information */ export declare function getTableInfo(database: string): Promise; /** * Get column definitions for a specific table using spacetime describe */ export declare function getTableColumns(database: string, tableName: string): Promise; /** * Get all columns for all tables */ export declare function getAllTableColumns(database: string): Promise>; /** * Export a single table to JSON */ export declare function exportTable(database: string, tableName: string): Promise; /** * Export a single table to CSV */ export declare function exportTableCSV(database: string, tableName: string): Promise; /** * Get row count for a table */ export declare function getTableRowCount(database: string, tableName: string): Promise; //# sourceMappingURL=table-discovery.d.ts.map