import { EventEmitter } from '@angular/core'; import { StorageAccountWithProvider } from '@memberjunction/core-entities'; import * as i0 from "@angular/core"; /** * Represents a breadcrumb item in the path */ export interface BreadcrumbItem { label: string; path: string; } /** * Represents a folder in the tree */ export interface FolderItem { name: string; fullPath: string; } /** * Folder tree navigation component with breadcrumbs and history navigation. * Provides Mac Finder-style navigation with back/forward buttons and breadcrumb path. * Loads actual folder structure from storage accounts via GraphQL. */ export declare class FolderTreeComponent { /** * GraphQL client for file storage operations */ private storageClient; /** * Currently selected storage account with provider details */ private _account; constructor(); set account(value: StorageAccountWithProvider | null); get account(): StorageAccountWithProvider | null; /** * Emits when a folder is selected in the tree */ folderSelected: EventEmitter; /** * Current folder path */ currentPath: string; /** * Navigation history (for back button) */ history: string[]; /** * Current position in history */ historyIndex: number; /** * Breadcrumb items for current path */ breadcrumbs: BreadcrumbItem[]; /** * Folders in current path */ folders: FolderItem[]; private cdr; /** * Loading state */ isLoading: boolean; /** * Error message */ errorMessage: string | null; /** * Resets navigation when provider changes */ private resetNavigation; /** * Navigates to a specific folder path */ navigateToPath(path: string): void; /** * Refreshes the current folder view without changing navigation * Used when folder structure changes (e.g., folder deleted) but we're staying in the same location */ refresh(): void; /** * Navigates back in history */ navigateBack(): void; /** * Navigates forward in history */ navigateForward(): void; /** * Checks if can navigate back */ canGoBack(): boolean; /** * Checks if can navigate forward */ canGoForward(): boolean; /** * Updates breadcrumbs based on current path */ private updateBreadcrumbs; /** * Handles breadcrumb click */ onBreadcrumbClick(item: BreadcrumbItem): void; /** * Loads folders from the storage account for the current path */ private loadFolders; /** * Handles folder click for navigation */ onFolderClick(folder: FolderItem): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=folder-tree.component.d.ts.map