import React, { ForwardedRef } from 'react'; import { Cosmograph as _Cosmograph, downloadCosmographData, prepareCosmographDataFiles, prepareCosmographData, CosmographPointColorStrategy, CosmographLinkColorStrategy, CosmographPointSizeStrategy, CosmographLinkWidthStrategy } from '@cosmograph/cosmograph'; import type { WasmDuckDBConnection, CosmographInputData, CosmographData, CosmographConfig, CosmographDataPrepConfig, CosmographCustomLabel, CosmographDataPrepResult } from '@cosmograph/cosmograph'; export interface CosmographProps extends Partial { style?: React.CSSProperties; className?: string; duckDBConnection?: string | WasmDuckDBConnection; onMount?: (cosmograph: _Cosmograph) => void; } export type CosmographRef = _Cosmograph | undefined; export declare function CosmographFC({ style, className, onMount, duckDBConnection, ...args }: CosmographProps, ref: ForwardedRef): React.ReactElement; export declare const Cosmograph: React.MemoExoticComponent>>; export { downloadCosmographData, prepareCosmographDataFiles, prepareCosmographData, CosmographPointColorStrategy, CosmographPointSizeStrategy, CosmographLinkColorStrategy, CosmographLinkWidthStrategy, }; export type { CosmographDataPrepConfig, CosmographDataPrepResult, CosmographConfig, CosmographInputData, CosmographData, CosmographCustomLabel, };