import type { DocumentEngine } from '../document/contracts.js'; import type { DataCatalog } from './contracts.js'; export interface DataPreviewSelection { subscribe(listener: () => void): () => void; getSnapshot(): string | undefined; select(fixtureId: string): void; } /** Only the example ID is a preference. DTO values never enter storage or undo history. */ export declare function dataPreviewSelection(engine: DocumentEngine, catalog: DataCatalog, screenId: string): DataPreviewSelection;