import { type DashboardPanelProps } from '@deephaven/dashboard'; import { type FileStorage, type FileStorageItem } from '@deephaven/file-explorer'; import React, { type ReactNode } from 'react'; import { type ConnectedProps } from 'react-redux'; import type { dh } from '@deephaven/jsapi-types'; import { type CoreConsoleSession } from '../ConsoleEvents'; import './FileExplorerPanel.scss'; type StateProps = { fileStorage: FileStorage; language?: string; session?: dh.IdeSession; }; type OwnProps = DashboardPanelProps; declare const connector: import("react-redux").InferableComponentEnhancerWithProps & StateProps, DashboardPanelProps>; export type FileExplorerPanelProps = OwnProps & StateProps & ConnectedProps; export type FileExplorerPanelState = { isShown: boolean; language?: string; session?: dh.IdeSession; showCreateFolder: boolean; focusedFilePath: string; }; /** * Panel for showing a FileExplorer in a Dashboard. */ export declare class FileExplorerPanel extends React.Component { static COMPONENT: string; static TITLE: string; static handleError(error: Error): void; /** * Return true if the event should open a file and focus it, otherwise false * @param event The event to check */ static isFocusEvent(event: React.SyntheticEvent): boolean; constructor(props: FileExplorerPanelProps); componentDidMount(): void; handleCreateFile(): void; handleCreateDirectory(): void; handleCreateDirectoryCancel(): void; handleCreateDirectorySubmit(path: string): void; handleCopyFile(file: FileStorageItem): Promise; handleDelete(files: FileStorageItem[]): void; handleSelectionChange(selectedItems: FileStorageItem[]): void; handleFileSelect(file: FileStorageItem, event: React.SyntheticEvent): void; handleRename(oldName: string, newName: string): void; handleSessionOpened({ session, language }: CoreConsoleSession): void; handleSessionClosed(): void; handleShow(): void; isHidden(): boolean; render(): ReactNode; } declare const ConnectedFileExplorerPanel: import("react-redux").ConnectedComponent & import("@deephaven/golden-layout").GLPanelProps & import("@deephaven/dashboard").DehydratedPanelProps & import("@deephaven/dashboard").LocalDashboardProps & StateProps & import("react-redux").DispatchProp, "language" | "session" | "dispatch" | "fileStorage"> & import("@deephaven/golden-layout").GLPanelProps & import("@deephaven/dashboard").DehydratedPanelProps & import("@deephaven/dashboard").LocalDashboardProps>; export default ConnectedFileExplorerPanel; //# sourceMappingURL=FileExplorerPanel.d.ts.map