import type { TgdPainterGizmoOptions } from "@tolokoban/tgd"; import type React from "react"; export declare const ScalebarWhen: { readonly Always: "always"; readonly Hover: "hover"; readonly Never: "never"; }; export type TScalebarWhen = (typeof ScalebarWhen)[keyof typeof ScalebarWhen]; export declare const ScalebarPlacement: { readonly Top: "top"; readonly Bottom: "bottom"; readonly Left: "left"; readonly Right: "right"; readonly TopLeft: "top-left"; readonly TopRight: "top-right"; readonly BottomLeft: "bottom-left"; readonly BottomRight: "bottom-right"; }; export type TScalebarPlacement = (typeof ScalebarPlacement)[keyof typeof ScalebarPlacement]; export declare const ScalebarOrientation: { readonly Horizontal: "horizontal"; readonly Vertical: "vertical"; }; export type TScalebarOrientation = (typeof ScalebarOrientation)[keyof typeof ScalebarOrientation]; export declare const ScalebarSide: { readonly Left: "left"; readonly Right: "right"; }; export type TScalebarSide = (typeof ScalebarSide)[keyof typeof ScalebarSide]; export interface ScalebarPinsConfig { left?: TScalebarWhen; right?: TScalebarWhen; majorLength?: number; minorLength?: number; minorPerMajor?: number; } export interface ScalebarLabelsConfig { show?: TScalebarWhen; side?: TScalebarSide; } export interface ScalebarConfig { className?: string; unit?: number; orientation?: TScalebarOrientation; placement?: TScalebarPlacement; margin?: number | { x?: number; y?: number; }; style?: React.CSSProperties; pins?: ScalebarPinsConfig; labels?: ScalebarLabelsConfig; reveal?: "hover" | "always"; color?: string; thickness?: number; hiDPI?: boolean; } export interface PropsForGizmo { gizmo?: boolean | TgdPainterGizmoOptions; } export interface PropsForScalebar { scalebar?: boolean | string | ScalebarConfig; } export interface MorphoViewerWorldOverlay { color: string; coordinates: Float32Array | number[]; id?: string; kind?: "electrodes" | "origin" | string; interactive?: boolean; origin?: [number, number, number]; rotation?: { x?: number; y?: number; z?: number; }; } export interface MorphoViewerOverlayTransformEvent { id: string; origin: { x: number; y: number; z: number; }; rotation: { x: number; y: number; z: number; }; phase: "end"; } export interface PropsForOverlayInteraction { overlaysInteractive?: boolean; onOverlayTransform?: (event: MorphoViewerOverlayTransformEvent) => void; highlightedOverlayId?: string | null; } //# sourceMappingURL=types.d.ts.map