/**
 * 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<HTMLDivElement | null>;
    titleRef?: RefObject<HTMLHeadingElement | null>;
    contentActions?: RefObject<HTMLDivElement | null>;
    breadcrumbActions?: RefObject<HTMLDivElement | null>;
};
export type PageHeaderObserverState = {
    fullyCollapsed: boolean;
    titleClipped: boolean;
    contentActionsClipped: boolean;
};
type PageHeaderContextType = {
    refs?: PageHeaderRefs;
    setRefs: React.Dispatch<React.SetStateAction<PageHeaderRefs>>;
    pageActionsInstance?: React.ReactNode | ((state: PageHeaderObserverState) => React.ReactNode);
    setPageActionsInstance: React.Dispatch<React.SetStateAction<React.ReactNode | ((state: PageHeaderObserverState) => React.ReactNode)>>;
    observerState: PageHeaderObserverState;
    isContentActionsInBreadcrumbBar?: boolean;
    isFunctionalContentActions?: boolean;
};
export declare const PageHeaderContext: import("react").Context<PageHeaderContextType | undefined>;
export declare function usePageHeader(): PageHeaderContextType;
export {};
//# sourceMappingURL=context.d.ts.map