/** * Shared E2E test utilities for live ClickHouse tests. * * Hard-fails on missing env — never skips. * Uses ClickHouseExecutor so any package that depends on @chkit/clickhouse can import this. */ import { type ClickHouseExecutor } from './index.js'; export interface LiveEnv { clickhouseUrl: string; clickhouseUser: string; clickhousePassword: string; clickhouseDatabase: string; } /** * Reads and validates required ClickHouse env vars. * Throws immediately if anything is missing — tests must not silently skip. */ export declare function getRequiredEnv(): LiveEnv; /** * Creates a ClickHouseExecutor configured for E2E tests from env vars. */ export declare function createLiveExecutor(env: LiveEnv): ClickHouseExecutor; /** * Use only for live tests that intentionally issue parallel queries through one * executor. The default live executor is session-bound and should be used for * normal sequential DDL workflows. */ export declare function createStatelessLiveExecutor(env: LiveEnv): ClickHouseExecutor; export declare function quoteIdent(value: string): string; export declare function createRunTag(): string; export declare function createPrefix(label: string): string; export declare function createJournalTableName(label: string): string; export { waitForTable, waitForView, waitForColumn, waitForDictionary, waitForRows, } from './ddl-propagation.js'; //# sourceMappingURL=e2e-testkit.d.ts.map