import type { DocBasePageData } from '@diplodoc/components';
import type { PageData } from './index';
import type { Props as HeaderControlsProps } from '../HeaderControls';
import type { Settings } from '../../utils';
export type CustomPageProps = Settings & Partial<HeaderControlsProps>;
export interface PageContextProps {
    data: DocBasePageData & PageData;
    props: CustomPageProps;
    hasLayout: boolean;
}
export declare const PageProvider: import("react").Provider<PageContextProps | null>;
export declare function usePageContext(): PageContextProps;
