import type { CSSProperties } from "react"; import type { GroupBase, MenuPlacement, StylesConfig } from "react-select"; import type { ComponentVariant } from "../NDSProvider/ComponentVariantContext"; import type { DefaultNDSThemeType } from "../theme"; type Placement = "top" | "bottom"; export declare function getControlBorderRadius({ border, isMenuOpen, menuLength, menuPlacement, theme, }: { border: Placement; isMenuOpen: boolean; menuLength: number; menuPlacement: MenuPlacement; theme: DefaultNDSThemeType; }): string | 0; export declare function getMenuBorderRadius({ border, menuPlacement, theme, }: { border: Placement; menuPlacement: MenuPlacement; theme: DefaultNDSThemeType; }): { radius: string | number; style: CSSProperties["borderBottomStyle"]; }; type VariantConfig = { [key in ComponentVariant]?: CSSProperties; }; export declare function stylesForVariant(config: VariantConfig, variant?: ComponentVariant): CSSProperties; export declare function showIndicatorSeparator({ hasValue, isClearable, isMulti }: { hasValue: any; isClearable: any; isMulti: any; }): any; interface CustomStylesArgs { theme: DefaultNDSThemeType; error: boolean; maxHeight: string; windowed: boolean; variant: ComponentVariant; hasIcon?: boolean; hasDefaultOptions?: boolean; } declare const customStyles: >(args: CustomStylesArgs) => StylesConfig; export default customStyles;