import { type JSX } from 'solid-js'; export type LightboxImage = { src: string; alt?: string; name?: string; }; export type LightboxState = { open: boolean; image: LightboxImage | null; }; export type ImageLightboxController = { state: () => LightboxState; open: (image: LightboxImage) => void; close: () => void; }; export declare const useImageLightbox: () => ImageLightboxController | undefined; export declare function createImageLightbox(): ImageLightboxController; export declare function ImageLightboxProvider(props: { controller: ImageLightboxController; children: JSX.Element; }): JSX.Element;