/**
 * A React context for ensuring there is one and only one definition showing at a time
 */
import * as React from "react";
type DefintionContext = {
    activeDefinitionId: string | null | undefined;
    setActiveDefinitionId: (arg1?: string | null | undefined) => void;
};
type ProviderState = {
    activeDefinitionId: string | null | undefined;
};
type ProviderProps = {
    children: any;
};
export declare class DefinitionProvider extends React.Component<ProviderProps, ProviderState> {
    state: ProviderState;
    setActiveDefinitionId: (activeDefinitionId?: string | null) => void;
    render(): React.ReactNode;
}
export declare const DefinitionConsumer: React.Consumer<DefintionContext>;
export {};
