import type { CollectorStore } from "./store.js"; /** * Select the storage backend (`COLLECTOR_STORE`): * - `duckdb` (default) — the OSS single-file DuckDB store (events + metadata in * one file, full analytics, zero external services; ADR 0020). Path from * `DUCKDB_PATH`. * - `postgres` — the optional single-tenant Postgres store (multi-writer * relational backend for shops that already run Postgres; ADR 0020, #84). * Connection from `POSTGRES_URL` (or `DATABASE_URL`) plus the optional * `POSTGRES_SCHEMA` / `POSTGRES_POOL_MAX`. Requires a reachable Postgres. * - `mssql` — the optional single-tenant Microsoft SQL Server store (for shops * standardized on SQL Server / Azure SQL; ADR 0020, #85). Connection from * `MSSQL_URL` or `MSSQL_SERVER` / `MSSQL_PORT` / `MSSQL_DATABASE` / * `MSSQL_USER` / `MSSQL_PASSWORD`. Requires a reachable SQL Server 2022+. * - `clickhouse` — the optional single-tenant ClickHouse store for scale * (concurrent, high-volume ingestion; ADR 0020). Connection from the * `CLICKHOUSE_*` env vars. Requires a reachable ClickHouse server. * - `memory` — a dependency-free in-memory store for local dev / E2E tests * (seed its project/key via `COLLECTOR_MEMORY_PROJECT_ID` / * `COLLECTOR_MEMORY_API_KEY`). */ export declare function createStore(env?: NodeJS.ProcessEnv): Promise; /** * Wire the production store, build the app, and listen. Fails fast if required * configuration is missing (see {@link loadConfig}). Shared by the * `uptimizr-collector` bin and the `uptimizr serve` CLI command. */ export declare function serve(): Promise; //# sourceMappingURL=serve.d.ts.map