/* * 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 { SeekButtonProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime41 from "react/jsx-runtime"; //#region src/components/media-controls/seek-button.d.ts /** * A media control button for seeking forward or backward. * * Integrates with media-chrome's media store to seek the media playback position. * Can be configured to seek forward or backward with a customizable time offset. * Invalid seekOffset values (negative, zero, NaN, Infinity) automatically fall back * to the default of 10 seconds. * * @param props - The button props. * @param props.className - CSS class name for the button. * @param props.direction - Direction to seek ('forward' or 'backward'). * @param props.seekOffset - Number of seconds to seek (default: 10). Must be a positive finite number. * @param props.isDisabled - Whether the button is disabled. * @param props.ref - Ref to the button element. * @returns The rendered seek button. * * @example * ```tsx * // Basic usage within MediaProvider * * * * * ``` * * @example * ```tsx * // With custom seek offset (30 seconds) * * ``` */ declare function SeekButton({ className, direction, seekOffset: seekOffsetProp, isDisabled: isDisabledProp, ref, ...rest }: SeekButtonProps): react_jsx_runtime41.JSX.Element; //#endregion export { SeekButton }; //# sourceMappingURL=seek-button.d.ts.map