import './styles.css'; import type { ElFinderPickerConfig, FilePickerCallback } from './types'; declare class ElFinderPicker { private settings; private callback; private popup; private iframe; private _messageHandler; constructor(config?: ElFinderPickerConfig); /** * Handle postMessage from iframe * @private */ private _handleMessage; /** * Open the file picker * @param cb - Callback function that receives file object * @param v - Optional initial file path to navigate to * @returns The popup element */ open(cb: FilePickerCallback, v?: string): HTMLElement | null; /** * Send navigation message to iframe * @private */ private _sendNavigationMessage; /** * Create the popup DOM structure * @private */ private createPopup; /** * Show the popup * @private */ private show; /** * Handle file selection from elFinder * @param file - Raw file object from elFinder */ private onSelect; /** * Close the popup */ close(): void; /** * Destroy the popup and clean up */ destroy(): void; } export default ElFinderPicker; //# sourceMappingURL=ElFinderPicker.d.ts.map