/** * Opt-in telemetry writer for openlore. * * Gate: OPENLORE_TELEMETRY=1 (disabled by default). * Writes append-only JSONL to .openlore/telemetry/.jsonl. * Never throws — telemetry must not crash the hot path. * * Rotation: when a domain file exceeds ROTATE_THRESHOLD_BYTES, it is renamed * to .1.jsonl and older rotated files shifted (keeps MAX_ROTATED_FILES). */ /** * Emit a telemetry event to .openlore/telemetry/.jsonl. * * @param directory - project root (must be absolute) * @param domain - log file name without extension (e.g. 'mcp', 'cache', 'epistemic-lease') * @param payload - arbitrary fields merged with the timestamp */ export declare function emit(directory: string, domain: string, payload: Record): void; //# sourceMappingURL=telemetry.d.ts.map