import React, { Component } from 'react';
import { DisplaySpaceHierarchyNode } from '@density/lib-space-helpers/types';
export declare enum SpacePickerSelectControlTypes {
    RADIOBUTTON = "RADIOBUTTON",
    CHECKBOX = "CHECKBOX",
    NONE = "NONE"
}
declare type SpacePickerProps = {
    value: Array<DisplaySpaceHierarchyNode> | Array<string> | DisplaySpaceHierarchyNode | string | null;
    onChange: (SpaceHierarchyDisplayItem: any) => any;
    formattedHierarchy: Array<DisplaySpaceHierarchyNode>;
    showSearchBox?: boolean;
    searchBoxPlaceholder?: string;
    placeholder?: string;
    height?: React.ReactText;
    canSelectMultiple?: boolean;
    autoSelectChildren?: boolean;
    selectControl?: SpacePickerSelectControlTypes;
    isItemDisabled?: (SpaceHierarchyDisplayItem: any) => boolean;
    onCloseDropdown?: () => void;
    disabled?: boolean;
};
export declare const SpacePickerContext: React.Context<"CARD_PICKER">;
export declare const SpacePicker: React.FunctionComponent<SpacePickerProps>;
export default SpacePicker;
declare type SpacePickerDropdownProps = SpacePickerProps & {
    width?: React.ReactText;
    dropdownWidth?: React.ReactText;
};
export declare class SpacePickerDropdown extends Component<SpacePickerDropdownProps, {
    opened: boolean;
}> {
    state: {
        opened: boolean;
    };
    render(): JSX.Element;
}
