{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/testing/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,6FAA6F;AAC7F,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC/D,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;IACnC,QAAQ,IAAI,OAAO,CAAC,SAAS,qBAAqB,EAAE,CAAC,CAAC;CACtD;AAED,oEAAoE;AACpE,MAAM,MAAM,8BAA8B,GAAG,MAAM,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAEpF,4FAA4F;AAC5F,MAAM,WAAW,+BAA+B;IAC/C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACrB","sourcesContent":["import type { TelemetryContext } from \"../index.ts\";\nimport type { RecordedTelemetrySpan } from \"../memory.ts\";\n\n/** A fresh adapter instance and normalized snapshot reader owned by one conformance case. */\nexport interface TelemetryAdapterFixture extends AsyncDisposable {\n\treadonly context: TelemetryContext;\n\tgetSpans(): Promise<readonly RecordedTelemetrySpan[]>;\n}\n\n/** Creates an isolated adapter fixture for one conformance case. */\nexport type TelemetryAdapterFixtureFactory = () => Promise<TelemetryAdapterFixture>;\n\n/** A runner-independent conformance case that can be registered with any test framework. */\nexport interface TelemetryAdapterConformanceCase {\n\treadonly group: string;\n\treadonly name: string;\n\trun(): Promise<void>;\n}\n"]}