import type { HistoireTestRunSummary } from '@histoire/shared';
import type { createPreviewSession } from './session.js';
/** Exact ready document returned by shared screenshot/test session. */
type ReadyPreview = Awaited<ReturnType<ReturnType<typeof createPreviewSession>['open']>>;
/** Collect and run existing embedded session against one exact ready document. */
export declare function runCompiledPreviewTests(options: {
    /** Owned session and its finite remaining deadline. */
    session: ReturnType<typeof createPreviewSession>;
    /** Ready live document; stale navigation rejects without repeat. */
    ready: ReadyPreview;
    /** Captured authority independent of delimiter-based compatibility key. */
    target: {
        storyId: string;
        variantId: string;
        epoch: string;
    };
    /** Existing recorded collection deadline, bounded by whole job. */
    collectTimeoutMs: number;
    /** Private scrub inputs, never transmitted to preview. */
    sanitize: {
        root: string;
        secret?: string;
    };
}): Promise<HistoireTestRunSummary>;
export {};
//# sourceMappingURL=preview-client.d.ts.map