import React from 'react'; import type { PortalProps } from '../Portal'; import type { FileSelectContextApi, FileSelectProps, FileSelectRef } from './FileSelect.types'; export declare const FileSelectLocalSourceId = "FileSelectLocalSource"; declare type FileSelectDOMAttributes = Omit, 'onError' | 'onProgress'>; export declare const FileSelectContext: React.Context; export declare const useFileSelectContext: () => FileSelectContextApi; /** * The file explorer enables users to select permitted files from various document * sources in procore to attach to items. * * @since 10.19.0 * @deprecated Use `ConnectedFileSelect` from `@procore/labs-file-select` instead; it wires up more functionality out of the box. * @deprecatedSince 12.40.0 * @see [File Select Storybook](https://stories.other-libraries.procore.com/?path=%2Fstory%2Fconnected-file-select_demos-fileselect--demo) * @see [File Select package (file-select-js-monorepo)](https://github.com/procore/file-select-js-monorepo/tree/main/packages/file-select) */ export declare const FileSelect: React.ForwardRefExoticComponent> & { LocalSource: React.ForwardRefExoticComponent>; GridSource: React.ForwardRefExoticComponent & React.RefAttributes>; TreeSource: React.ForwardRefExoticComponent, "onChange"> & React.RefAttributes>; }; export {};