/* * 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 { ProviderProps } from "../../lib/types.js"; import { HotkeyProps } from "./types.js"; import "client-only"; import * as react21 from "react"; import * as react_jsx_runtime74 from "react/jsx-runtime"; import { ContextValue } from "react-aria-components/slots"; //#region src/components/hotkey/context.d.ts /** * Context for sharing Hotkey props across component tree. */ declare const HotkeyContext: react21.Context>; /** * HotkeyProvider - Context provider for setting default Hotkey props. * * Use this to configure shared variant across multiple Hotkey components. * * @param props - ProviderProps * @param props.children - Child components to receive context. * @returns The rendered HotkeyProvider component. * * @example * ```tsx * * Ctrl * C * * ``` */ declare function HotkeyProvider({ children, ...props }: ProviderProps): react_jsx_runtime74.JSX.Element; //#endregion export { HotkeyContext, HotkeyProvider }; //# sourceMappingURL=context.d.ts.map