/* * 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 { TimeDisplayProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime45 from "react/jsx-runtime"; //#region src/components/media-controls/time-display.d.ts /** * A media control component for displaying time information. * * Wraps media-chrome's time display components with DTK styling. * Can show current time, remaining time, or total duration. * Shows placeholder text until media metadata is loaded. * * @param props - The display props. * @param props.className - CSS class name for the container. * @param props.placeholder - Placeholder text before media loads (default: 'hh:mm:ss'). * @param props.isDisabled - Whether the display is disabled. * @param props.mode - Display mode ('current', 'remaining', or 'duration'). * @param props.ref - Ref to the container element. * @returns The rendered time display. * * @example * ```tsx * // Basic usage - shows current time * * * * ``` * * @example * ```tsx * // Show total duration * * ``` * * @example * ```tsx * // Show remaining time * * ``` * * @example * ```tsx * // Custom placeholder * * ``` */ declare function TimeDisplay({ className, placeholder, isDisabled: isDisabledProp, mode, ref }: TimeDisplayProps): react_jsx_runtime45.JSX.Element; //#endregion export { TimeDisplay }; //# sourceMappingURL=time-display.d.ts.map