import type { Page } from "playwright";
import { type ArtifactRef } from "./artifacts.js";
import { type RedactionRule } from "./redaction.js";
export type CellOriginalRef = {
    relativePath: string;
    contentHash: string;
    mediaType: string;
    dimensions?: {
        width: number;
        height: number;
    };
};
export type CellOriginalCapture = {
    ref: CellOriginalRef;
    pageBounds: {
        width: number;
        height: number;
    };
    sourceRunId?: string;
};
export type CaptureCellOriginalOptions = {
    fileName?: string;
    artifactRunDir?: string;
    sourceRunId?: string;
    redactionRules?: RedactionRule[];
};
export declare function captureCellOriginal(page: Page, cellId: string, options?: CaptureCellOriginalOptions): Promise<CellOriginalCapture>;
export type CellScreenshotInput = {
    cell: {
        id: string;
    };
    capture: {
        screenshot: boolean;
    };
    artifactRunDir?: string;
    sourceRunId?: string;
    redactionRules?: RedactionRule[];
};
export declare function captureCellScreenshots(page: Page, input: CellScreenshotInput): Promise<{
    original: ArtifactRef;
} | undefined>;
export declare function cellScreenshotArtifacts(evidence: {
    screenshots?: {
        original: ArtifactRef;
    };
}): ArtifactRef[];
export declare function cellOriginalArtifactRef(ref: CellOriginalRef, sourceRunId: string): ArtifactRef;
//# sourceMappingURL=cell-original.d.ts.map