import type { Dispatch, SetStateAction } from 'react'; import { ReactSelect } from '@payloadcms/ui'; import React from 'react'; interface Props extends React.ComponentProps { hide?: boolean; initialAction?: () => void; options: Option[]; selected: Option[]; setSelected: Dispatch>; title: string; } export type Option = { label: string; value: number | string; }; export declare const selectAllOption: { label: string; value: string; }; export declare const MultiSelect: ({ initialAction, options, selected, setSelected, title, ...rest }: Props) => React.JSX.Element; export {};