import React from 'react';
import PropTypes from 'prop-types';
export declare function keyboardSortableContext(Component: any): {
    new (props: any, context: any): {
        getChildContext(): {
            register: (index: any, dndId: any) => void;
            unregister: (index: any) => void;
            getPrevDropTarget: (index: any) => any;
            getNextDropTarget: (index: any) => any;
        };
        unregister: (index: any) => void;
        register: (index: any, dndId: any) => void;
        getPrevDropTarget: (index: any) => any;
        getNextDropTarget: (index: any) => any;
        render(): JSX.Element;
        context: any;
        setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
        forceUpdate(callBack?: () => void): void;
        readonly props: Readonly<any> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<any>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
        componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
    };
    childContextTypes: {
        register: PropTypes.Validator<(...args: any[]) => any>;
        unregister: PropTypes.Validator<(...args: any[]) => any>;
        getPrevDropTarget: PropTypes.Validator<(...args: any[]) => any>;
        getNextDropTarget: PropTypes.Validator<(...args: any[]) => any>;
    };
    contextType?: React.Context<any>;
};
