export { type WebClickHouseClient as ClickHouseClient, type QueryResult, } from "./client"; export { createClient } from "./client"; export { type WebClickHouseClientConfigOptions as ClickHouseClientConfigOptions } from "./config"; export { ResultSet } from "./result_set"; /** Re-export common (formerly @clickhouse/client-common) types */ export { type BaseClickHouseClientConfigOptions, type BaseQueryParams, type QueryParams, type QueryParamsWithFormat, type ExecParams, type InsertParams, type InsertValues, type CommandParams, type CommandResult, type ExecResult, type InsertResult, type ClickHouseSummary, type WithClickHouseSummary, type DataFormat, type RawDataFormat, type JSONDataFormat, type StreamableDataFormat, type StreamableJSONDataFormat, type SingleDocumentJSONFormat, type Logger, type LogParams, type ErrorLogParams, type WarnLogParams, type ClickHouseSettings, type ClickHouseSettingsInterface, type MergeTreeSettings, type Row, type ResponseJSON, type InputJSON, type InputJSONObjectEachRow, type BaseResultSet, type ResultJSONType, type RowJSONType, type PingResult, type PingParams, type ResponseHeaders, type SimpleColumnType, type ParsedColumnSimple, type ParsedColumnEnum, type ParsedColumnFixedString, type ParsedColumnNullable, type ParsedColumnDecimal, type ParsedColumnDateTime, type ParsedColumnDateTime64, type ParsedColumnArray, type ParsedColumnTuple, type ParsedColumnMap, type ParsedColumnType, type ProgressRow, type RowOrProgress, type ClickHouseAuth, type ClickHouseJWTAuth, type ClickHouseCredentialsAuth, type ClickHouseTracer, type ClickHouseSpan, type ClickHouseSpanOptions, type ClickHouseSpanAttributes, type ClickHouseSpanStatus, type ClickHouseSpanName, } from "./common/index"; /** * Re-export common (formerly @clickhouse/client-common) runtime values. * * These are intentionally re-exported through local bindings (rather than a direct * `export { ... } from './common/index'`) so that the `@deprecated` JSDoc tags * applied to them in `./common/index` are NOT propagated to consumers of this package. * Importing these values from `@clickhouse/client-web` is the recommended, non-deprecated path. */ import { ClickHouseError as ClickHouseError_, parseError as parseError_, ClickHouseLogLevel as ClickHouseLogLevel_, SettingsMap as SettingsMap_, parseColumnType as parseColumnType_, isProgressRow as isProgressRow_, isRow as isRow_, isException as isException_, TupleParam as TupleParam_, extractErrorAtTheEndOfChunk as extractErrorAtTheEndOfChunk_ } from "./common/index"; export declare const ClickHouseError: typeof ClickHouseError_; export type ClickHouseError = ClickHouseError_; export declare const parseError: typeof parseError_; export declare const ClickHouseLogLevel: { readonly TRACE: 0; readonly DEBUG: 1; readonly INFO: 2; readonly WARN: 3; readonly ERROR: 4; readonly OFF: 127; readonly 0: "TRACE"; readonly 1: "DEBUG"; readonly 2: "INFO"; readonly 3: "WARN"; readonly 4: "ERROR"; readonly 127: "OFF"; }; export type ClickHouseLogLevel = ClickHouseLogLevel_; export declare const SettingsMap: typeof SettingsMap_; export type SettingsMap = SettingsMap_; export declare const SupportedJSONFormats: readonly ["JSONObjectEachRow", "JSON", "JSONStrings", "JSONCompact", "JSONCompactStrings", "JSONColumnsWithMetadata", "JSONEachRow", "JSONStringsEachRow", "JSONCompactEachRow", "JSONCompactStringsEachRow", "JSONCompactEachRowWithNames", "JSONCompactEachRowWithNamesAndTypes", "JSONCompactStringsEachRowWithNames", "JSONCompactStringsEachRowWithNamesAndTypes", "JSONEachRowWithProgress"]; export declare const SupportedRawFormats: readonly ["CSV", "CSVWithNames", "CSVWithNamesAndTypes", "TabSeparated", "TabSeparatedRaw", "TabSeparatedWithNames", "TabSeparatedWithNamesAndTypes", "CustomSeparated", "CustomSeparatedWithNames", "CustomSeparatedWithNamesAndTypes", "Parquet"]; export declare const StreamableFormats: readonly ["JSONEachRow", "JSONStringsEachRow", "JSONCompactEachRow", "JSONCompactStringsEachRow", "JSONCompactEachRowWithNames", "JSONCompactEachRowWithNamesAndTypes", "JSONCompactStringsEachRowWithNames", "JSONCompactStringsEachRowWithNamesAndTypes", "JSONEachRowWithProgress", "CSV", "CSVWithNames", "CSVWithNamesAndTypes", "TabSeparated", "TabSeparatedRaw", "TabSeparatedWithNames", "TabSeparatedWithNamesAndTypes", "CustomSeparated", "CustomSeparatedWithNames", "CustomSeparatedWithNamesAndTypes", "Parquet"]; export declare const StreamableJSONFormats: readonly ["JSONEachRow", "JSONStringsEachRow", "JSONCompactEachRow", "JSONCompactStringsEachRow", "JSONCompactEachRowWithNames", "JSONCompactEachRowWithNamesAndTypes", "JSONCompactStringsEachRowWithNames", "JSONCompactStringsEachRowWithNamesAndTypes", "JSONEachRowWithProgress"]; export declare const SingleDocumentJSONFormats: readonly ["JSON", "JSONStrings", "JSONCompact", "JSONCompactStrings", "JSONColumnsWithMetadata"]; export declare const RecordsJSONFormats: readonly ["JSONObjectEachRow"]; /** @deprecated Superseded by the `@clickhouse/datatype-parser` package (`parseDataType` + its `Node` AST); slated for removal in a future major version. */ export declare const parseColumnType: typeof parseColumnType_; /** @deprecated Superseded by the `@clickhouse/datatype-parser` package (`parseDataType` + its `Node` AST); slated for removal in a future major version. */ export declare const SimpleColumnTypes: readonly ["Bool", "UInt8", "Int8", "UInt16", "Int16", "UInt32", "Int32", "UInt64", "Int64", "UInt128", "Int128", "UInt256", "Int256", "Float32", "Float64", "String", "UUID", "Date", "Date32", "IPv4", "IPv6"]; export declare const isProgressRow: typeof isProgressRow_; export declare const isRow: typeof isRow_; export declare const isException: typeof isException_; export declare const TupleParam: typeof TupleParam_; export type TupleParam = TupleParam_; export declare const ClickHouseSpanNames: { readonly query: "clickhouse.query"; readonly query_stream: "clickhouse.query.stream"; readonly command: "clickhouse.command"; readonly exec: "clickhouse.exec"; readonly insert: "clickhouse.insert"; readonly ping: "clickhouse.ping"; }; export declare const ClickHouseSpanStatusCode: { readonly UNSET: 0; readonly OK: 1; readonly ERROR: 2; }; export declare const ClickHouseSpanKind: { readonly INTERNAL: 0; readonly SERVER: 1; readonly CLIENT: 2; readonly PRODUCER: 3; readonly CONSUMER: 4; }; export declare const defaultJSONHandling: import("./common/index").JSONHandling; export declare const EXCEPTION_TAG_HEADER_NAME = "x-clickhouse-exception-tag"; export declare const extractErrorAtTheEndOfChunk: typeof extractErrorAtTheEndOfChunk_;