import { type Telemetry } from "./client.js"; export { envOptOut } from "./consent.js"; export { loadConfig, type TelemetryConfig } from "./config.js"; export { EVENT_ALLOWLIST, LOG_EVENTS, type EventName } from "./events.js"; export { type Telemetry } from "./client.js"; export { PROJECT_ID_SALT, repoHost, type RepoHost } from "./base-props.js"; export { scrubErrorDetail } from "./scrub.js"; export interface InitTelemetryOptions { version: string; env?: Record; /** Project directory for projectIdHash lookup; defaults to process.cwd(). */ cwd?: string; runtime?: boolean; posthogKey?: string; home?: string; fetchImpl?: typeof fetch; log?: (msg: string) => void; } /** * Load config, show the first-run notice once, and return a ready client. * The CLI passes runtime:false; the dev server passes runtime:true. */ export declare function initTelemetry(opts: InitTelemetryOptions): Telemetry;