import { DuckDBInstance } from "../duckdb/duckdb-wasm"; import { CosmographDataPrepLinksConfig, CosmographDataPrepPointsConfig } from './types'; export interface InsertResult { missingRequiredColumns: { prop: string; name: string; }[]; missingOptionalColumns: { prop: string; name: string; }[]; /** * Whether the dataset was processed completely without hitting resource limits (e.g. out-of-memory). * `false` means that only part of the dataset was loaded. */ processedFully: boolean; /** * Whether new points were added during the insert operation (only relevant for insertLinks). */ pointsAdded?: boolean; } export type InsertReturnType = Promise; export declare const insertPoints: (db: DuckDBInstance, config: CosmographDataPrepPointsConfig) => InsertReturnType; export declare const insertLinks: (db: DuckDBInstance, config: CosmographDataPrepLinksConfig) => InsertReturnType;