import { TestCase, TestStep } from '@playwright/test/reporter'; import { Attachment } from 'qase-javascript-commons'; /** * Per-instance shared state for step caching (used by `onStepBegin` and * `MetadataExtractor`) and per-step attachment routing (populated by * `MetadataExtractor`, consumed by `StepConverter`). */ export declare class StepIndex { private readonly stepCache; private readonly stepAttachments; cacheStep(step: TestStep, test: TestCase): void; hasStepCached(step: TestStep): boolean; findStepByTitle(title: string): TestStep | undefined; removeStep(step: TestStep): void; addAttachmentToStep(parent: TestStep, attachment: Attachment): void; getStepAttachments(step: TestStep): Attachment[] | undefined; }