import React from "react";
export declare const placements: readonly ["bottom-start", "bottom", "bottom-end"];
type Placement = (typeof placements)[number];
export type Props = {
    /**
     * Label of the dropdown button, displayed before the dropdown icon.
     */
    label: string | React.ReactNode;
    /**
     * Controls whether the dropdown can be open.
     * Defaults to false.
     */
    disabled?: boolean;
    /**
     * Controls whether the dropdown will close on a click event happening outside of this component.
     * Defaults to true.
     */
    closeOnClickOutside?: boolean;
    /**
     * Controls whether the dropdown will close on a click event happening inside the dropdown.
     * Defaults to false.
     */
    closeOnClickInside?: boolean;
    /**
     * Content of the dropdown.
     */
    children: React.ReactNode;
    /**
     * Vertical alignment of the dropdown relative to the dropdown button.
     * Will automatically adjust to the document to avoid overflowing.
     * Defaults to "bottom".
     */
    placement?: Placement;
    /**
     * Controls whether the dropdown will flip its side to keep it in view
     * in case there isn't enough space available. See https://floating-ui.com/docs/flip
     * Defaults to false.
     */
    flipDisabled?: boolean;
};
declare const DropdownGeneric: ({ label, closeOnClickOutside, closeOnClickInside, disabled, placement, flipDisabled, children, }: Props) => React.JSX.Element;
export default DropdownGeneric;
//# sourceMappingURL=index.d.ts.map