import React, { type JSX } from 'react';
import type { CommonProps } from '../../internal/CommonWrapper/index.js';
import type { TGetRootNode } from '../../lib/rootNode/index.js';
import type { GappedProps } from '../Gapped/index.js';
import type { SidePageContextType } from './SidePageContext.js';
export interface SidePageFooterProps extends Omit<CommonProps, 'children'> {
    /** @ignore */
    children?: React.ReactNode | ((fixed: boolean) => React.ReactNode);
    /** Включает серый цвет в футере. */
    panel?: boolean;
    /** Закрепляет футер снизу сайдпейджа. */
    sticky?: boolean;
    /** Задает расстояние между элементами футера в пикселях. */
    gap?: GappedProps['gap'];
}
interface SidePageFooterState {
    fixed: boolean;
}
export declare const SidePageFooterDataTids: {
    readonly root: "SidePageFooter__root";
};
/**
 * Футер сайдпейджа.
 *
 * @visibleName SidePage.Footer
 */
export declare class SidePageFooter extends React.Component<React.PropsWithChildren<SidePageFooterProps>> {
    static __KONTUR_REACT_UI__: string;
    static displayName: string;
    static contextType: React.Context<SidePageContextType>;
    context: SidePageContextType;
    private isMobileLayout;
    state: SidePageFooterState;
    private globalObject;
    private emotion;
    private cx;
    private styles;
    private theme;
    private content;
    private layoutSub;
    getRootNode: TGetRootNode;
    private setRootNode;
    componentDidMount(): void;
    componentDidUpdate(prevProps: Readonly<SidePageFooterProps>): void;
    componentWillUnmount(): void;
    getSticky(): boolean;
    render(): JSX.Element;
    update: () => void;
    private renderMain;
    private refContent;
    private setProperStyles;
    private getContentHeight;
}
export {};
