import React from 'react';
import { SplitPanelFocusControlRefs } from '../../app-layout/utils/use-split-panel-focus-control';
export interface SplitPanelSideToggleProps {
    displayed: boolean;
    ariaLabel: string | undefined;
}
export interface SplitPanelContextBaseProps {
    topOffset: number;
    bottomOffset: number;
    leftOffset: number;
    rightOffset: number;
    position: 'side' | 'bottom';
    size: number;
    disableContentPaddings?: boolean;
    contentWidthStyles?: React.CSSProperties;
    contentWrapperPaddings?: {
        closedNav: boolean;
        closedTools: boolean;
    };
    isOpen?: boolean;
    isForcedPosition: boolean;
    onResize: (newSize: number) => void;
    onToggle: () => void;
    onPreferencesChange: (detail: {
        position: 'side' | 'bottom';
    }) => void;
    reportHeaderHeight: (pixels: number) => void;
    headerHeight?: number;
    setSplitPanelToggle: (config: SplitPanelSideToggleProps) => void;
    refs: SplitPanelFocusControlRefs;
}
export interface SplitPanelContextProps extends SplitPanelContextBaseProps {
    relativeSize: number;
    animationDisabled?: boolean;
}
export declare const SplitPanelContextProvider: React.Provider<SplitPanelContextProps | null | undefined>;
export declare function useSplitPanelContext(): SplitPanelContextProps;
//# sourceMappingURL=split-panel-context.d.ts.map