import type { DropdownItemOption, DropdownNewProps } from '@salutejs/plasma-new-hope';
import React, { ComponentProps } from 'react';
declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
    size: {
        xl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
    };
    view: {
        default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
    };
}> & {
    items: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption[];
    alwaysOpened?: boolean;
    children?: React.ReactNode;
    itemRole?: string;
    onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
    onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
    trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
    openByRightClick?: boolean;
    placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
    offset?: [number, number];
    listMaxHeight?: React.CSSProperties["height"];
    listWidth?: React.CSSProperties["width"];
    hasArrow?: boolean;
    closeOnSelect?: boolean;
    closeOnOverlayClick?: boolean;
    onToggle?: (isOpen: boolean, event?: React.SyntheticEvent | Event) => void;
    size?: string;
    view?: string;
    variant?: "normal" | "tight";
    portal?: string | React.RefObject<HTMLElement>;
    renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => React.ReactNode) | undefined;
    zIndex?: React.CSSProperties["zIndex"];
    beforeList?: React.ReactNode;
    afterList?: React.ReactNode;
    onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
    listHeight?: React.CSSProperties["height"];
    hoverIndex?: number;
    listOverflow?: React.CSSProperties["overflow"];
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "view" | "size"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
    size: {
        xl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
        xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
    };
    view: {
        default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
    };
}> & {
    items: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption[];
    alwaysOpened?: boolean;
    children?: React.ReactNode;
    itemRole?: string;
    onHover?: ((index: number, item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => void) | undefined;
    onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
    trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
    openByRightClick?: boolean;
    placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
    offset?: [number, number];
    listMaxHeight?: React.CSSProperties["height"];
    listWidth?: React.CSSProperties["width"];
    hasArrow?: boolean;
    closeOnSelect?: boolean;
    closeOnOverlayClick?: boolean;
    onToggle?: (isOpen: boolean, event?: React.SyntheticEvent | Event) => void;
    size?: string;
    view?: string;
    variant?: "normal" | "tight";
    portal?: string | React.RefObject<HTMLElement>;
    renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => React.ReactNode) | undefined;
    zIndex?: React.CSSProperties["zIndex"];
    beforeList?: React.ReactNode;
    afterList?: React.ReactNode;
    onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
    listHeight?: React.CSSProperties["height"];
    hoverIndex?: number;
    listOverflow?: React.CSSProperties["overflow"];
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "view" | "size"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
export { Dropdown };
