import * as React from 'react'; import type { ImageViewerItem } from './types.js'; import type { ChangeDetails } from '../../contracts/components.js'; export interface ImageViewerContextValue { items: ImageViewerItem[]; index: number; current: ImageViewerItem | null; open: boolean; zoom: number; setIndex(i: number, details: ChangeDetails): void; next(details: ChangeDetails): void; prev(details: ChangeDetails): void; setOpen(o: boolean, details: ChangeDetails): void; setZoom(z: number): void; loop: boolean; popupId: string; /** REQ-SURF-142: the Trigger that opened the popup; focus returns here on close. */ triggerRef: React.RefObject; /** REQ-SURF-142: id of the mounted Caption (the popup's aria-labelledby target), else null. */ captionId: string | null; setCaptionId(id: string | null): void; /** REQ-SURF-145: true while an Inspector part is mounted (layout reserves its region). */ hasInspector: boolean; setHasInspector(v: boolean): void; /** REQ-SURF-145: sample the current image tone onto the Stage. */ sampleTone: boolean; } export declare const ImageViewerContext: React.Context; export declare function useImageViewer(part: string): ImageViewerContextValue; //# sourceMappingURL=ivContext.d.ts.map