import type { CompiledCheckV2 } from "./long-task-delivery-types.js"; export { record, same } from "./long-task-playwright-case-primitives.js"; export interface PlaywrightCaseInstance { id: string; project_id: string; executed: boolean; passed: boolean; skipped: boolean; flaky: boolean; unexpected: boolean; timed_out: boolean; interrupted: boolean; status: string; given_keys: string[]; action_keys: string[]; attachment_names: string[]; attachment_payloads: Record; } export interface PlaywrightCase { id: string; executed: boolean; passed: boolean; skipped: boolean; flaky: boolean; unexpected: boolean; status: string; project_ids: string[]; executed_instances: number; failed_instances: number; skipped_instances: number; flaky_instances: number; unexpected_instances: number; timed_out_instances: number; interrupted_instances: number; given_keys: string[]; action_keys: string[]; attachment_names: string[]; attachment_payloads: Record; } export declare function collectCases(report: Record, declaredIds: Set): { cases: PlaywrightCaseInstance[]; unbound_unexpected_instances: number; error: string | null; }; export declare function declaredCaseIds(check: CompiledCheckV2): Set; export declare function duplicateCaseInstance(values: PlaywrightCaseInstance[]): PlaywrightCaseInstance | null;