/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { CarouselViewerProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime127 from "react/jsx-runtime"; //#region src/components/carousel/viewer.d.ts /** * Displays the full-size media for the currently active carousel item. * Note that it relies on the component to supply context and must be used * as a child of that component. * * Reads the active item from CarouselContext and renders it as an image, video, or audio * element based on the item's dataType. Supports additional children for overlay content. * * @param props - The viewer props. * @param props.children - Optional overlay content rendered inside the viewer. * @param props.classNames - Custom class names for viewer elements. * @param props.classNames.container - Class name for the viewer container. * @param props.classNames.media - Class name for the displayed media element (img, video, or audio). * @returns The carousel viewer component. */ declare function CarouselViewer({ children, classNames, ...rest }: CarouselViewerProps): react_jsx_runtime127.JSX.Element; //#endregion export { CarouselViewer }; //# sourceMappingURL=viewer.d.ts.map