import { IBreadcrumbItem } from "@fluentui/react/lib/Breadcrumb";
import { IFile, ILibrary } from "../../../services/FileBrowserService.types";
import { BaseComponentContext } from '@microsoft/sp-component-base';
export interface FilePickerBreadcrumbItem extends IBreadcrumbItem {
    libraryData?: ILibrary;
    folderData?: IFile;
}
export interface IFilePickerTab {
    context: BaseComponentContext;
    accepts: string[];
    onSave: (value: IFilePickerResult) => void;
    onClose: () => void;
}
/**
 * Represents the result of the FilePicker.
 */
export interface IFilePickerResult {
    /**
     * Selected file name with extension.
     */
    fileName: string;
    /**
     * Selected file name without extension.
     */
    fileNameWithoutExtension: string;
    /**
     * Absolute file URL. Undefined in case of file upload.
     */
    fileAbsoluteUrl: string;
    /**
     * Absolute not modified file SharePoint URL.
     */
    spItemUrl?: string;
    /**
     * Downloads file picker result content.
     */
    downloadFileContent: () => Promise<File>;
}
export declare enum FilePickerTabType {
    RecentTab = "keyRecent",
    OneDriveTab = "keyOneDrive",
    StockImagesTab = "keyStockImages",
    WebSearchTab = "keyWeb",
    OrganisationalAssetTab = "keyOrgAssets",
    SiteFilesTab = "keySite",
    LocalUploadTab = "keyUpload",
    LinkUploadTab = "keyLink"
}
//# sourceMappingURL=FilePicker.types.d.ts.map