/******************************************************************************** * Copyright (c) 2026 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0 * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ import { FunctionComponent, ReactNode } from 'react'; /** * The tint region an extension detail page declares while mounted. The page * only describes it; the nav bar compares the depth against its own scroll * position to decide when to wear the color. */ export interface ExtensionTint { color: string | null; depth: number; } export declare function useExtensionTint(): ExtensionTint | null; export declare function useSetExtensionTint(): (tint: ExtensionTint | null) => void; export declare const ExtensionTintProvider: FunctionComponent<{ children: ReactNode; }>; //# sourceMappingURL=extension-tint-context.d.ts.map