/** * Copyright IBM Corp. 2025, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { RefObject } from 'react'; /** * ------------- * Context setup * ------------- */ export type PageHeaderRefs = { contentRef?: RefObject; titleRef?: RefObject; contentActions?: RefObject; breadcrumbActions?: RefObject; }; export type PageHeaderObserverState = { fullyCollapsed: boolean; titleClipped: boolean; contentActionsClipped: boolean; }; type PageHeaderContextType = { refs?: PageHeaderRefs; setRefs: React.Dispatch>; pageActionsInstance?: React.ReactNode; setPageActionsInstance: React.Dispatch>; observerState: PageHeaderObserverState; isContentActionsInBreadcrumbBar?: boolean; isFunctionalContentActions?: boolean; }; export declare const PageHeaderContext: import("react").Context; export declare function usePageHeader(): PageHeaderContextType; export {}; //# sourceMappingURL=context.d.ts.map