import { MessageDescriptor } from 'react-intl'; export type BoxItemTypeSelectorProps = { className?: string; /** * Callback invoked once Box Item type value changes */ onSelectionChange: (newSelection: BoxItemSelection) => void; /** * Array of selected Box Item type values */ selected: BoxItemSelection; /** * The optional boolean which sets the disabled state when set to true */ disabled?: boolean; }; export declare enum BoxParentItemValue { Folders = "folderType", Files = "fileType" } export declare const BoxParentItemTitle: { Folders: { defaultMessage: string; description: string; id: string; }; Files: { defaultMessage: string; description: string; id: string; }; }; export declare enum BoxFileValue { Document = "documentType", PDF = "pdfType", Presentation = "presentationType", Spreadsheet = "spreadsheetType", Image = "imageType", Audio = "audioType", Video = "videoType", Drawing = "drawingType", ThreeD = "threedType", BoxNote = "boxnoteType", BoxCanvas = "boxcanvasType" } export declare const BoxFileTitle: { Document: { defaultMessage: string; description: string; id: string; }; PDF: { defaultMessage: string; description: string; id: string; }; Presentation: { defaultMessage: string; description: string; id: string; }; Spreadsheet: { defaultMessage: string; description: string; id: string; }; Image: { defaultMessage: string; description: string; id: string; }; Audio: { defaultMessage: string; description: string; id: string; }; Video: { defaultMessage: string; description: string; id: string; }; Drawing: { defaultMessage: string; description: string; id: string; }; ThreeD: { defaultMessage: string; description: string; id: string; }; BoxNote: { defaultMessage: string; description: string; id: string; }; BoxCanvas: { defaultMessage: string; description: string; id: string; }; }; export type ItemTypeSelector = { children?: Array | null; icon: React.ReactElement; value: BoxItemValue; title: BoxItemTitle; }; export type BoxItemValue = BoxParentItemValue | BoxFileValue; export type BoxItemTitle = MessageDescriptor; export type BoxItemSelection = Omit[];