import type { MetadataMessage } from "./labels"; export declare function metadataKey(file: string, titlePath: string[]): string; export type MetadataRunContext = { testId: string; file: string; titlePath: string[]; title: string; }; export declare function metadataKeys(ctx: MetadataRunContext): string[]; /** In-process metadata from testit.*(); attachments alone are unreliable in the reporter. */ export declare function patchTestMetadataForRun(ctx: MetadataRunContext, patch: MetadataMessage): void; export declare function resolveTestMetadata(ctx: { testId: string; file: string; titlePath: string[]; title: string; }): MetadataMessage | undefined; export declare function releaseTestMetadata(ctx: { testId: string; file: string; titlePath: string[]; title: string; }): void; export declare function applyMetadataTo(target: MetadataMessage, source: MetadataMessage): void;