/** * * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import { type JSX, type ReactNode } from 'react'; import { type ClearIndicatorProps, type CommonPropsAndClassName, type ControlProps, type DropdownIndicatorProps, type GroupBase, type IndicatorsContainerProps, type InputProps, type MenuListProps, type MenuPlacement, type MenuPosition, type MenuProps, type MultiValueProps, type OptionProps, type PlaceholderProps, type SingleValueProps, type ValueContainerProps } from 'react-select'; /** * react-select does not re-export MenuPortalProps from its public API. * The deep import path (react-select/dist/declarations/src/components/Menu) * is incompatible with moduleResolution:"bundler". * * Defined locally using publicly exported react-select types until upstream * merges the export: https://github.com/JedWatson/react-select/pull/6007 */ interface MenuPortalProps> extends CommonPropsAndClassName { appendTo: HTMLElement | undefined; children: ReactNode; controlElement: HTMLDivElement | null; innerProps: JSX.IntrinsicElements['div']; menuPlacement: MenuPlacement; menuPosition: MenuPosition; } import { type SelectOverrideCustomProps } from './types'; export declare const DropdownIndicatorCurrying: = GroupBase>({ size, }: SelectOverrideCustomProps) => (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomClearIndication: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ className, innerProps, ...restProps }: ClearIndicatorProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomMultiValue: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: MultiValueProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomPlaceholder: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: PlaceholderProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomControl: = GroupBase>({ size, isClean, errorText, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: ControlProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomIndicatorsContainer: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: IndicatorsContainerProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomValueContainer: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: ValueContainerProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomInput: = GroupBase>({ size, errorText, errorTextId, helpText, helpTextId, }: SelectOverrideCustomProps) => ({ className, ...restProps }: InputProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomSingleValue: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ className, ...restProps }: SingleValueProps) => import("react/jsx-runtime").JSX.Element; /** Overrides that are part of the popover menu */ export declare const CustomMenu: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: MenuProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomMenuPortal: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: MenuPortalProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomMenuList: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: MenuListProps) => import("react/jsx-runtime").JSX.Element; export declare const CustomOption: = GroupBase>({ size, }: SelectOverrideCustomProps) => ({ children, className, ...restProps }: OptionProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=Overrides.d.ts.map