/**
 * MarketplaceBrowser Component
 * Clean, intuitive marketplace browser with two-level navigation
 */
import React from 'react';
import { type MarketplacePlugin } from '@dexto/agent-management';
import type { Key } from '../../hooks/useInputOrchestrator.js';
export type MarketplaceBrowserAction = {
    type: 'add-marketplace';
} | {
    type: 'install-plugin';
    plugin: MarketplacePlugin;
} | {
    type: 'plugin-installed';
    pluginName: string;
    marketplace: string;
} | {
    type: 'marketplace-added';
    marketplaceName: string;
};
interface MarketplaceBrowserProps {
    isVisible: boolean;
    onAction: (action: MarketplaceBrowserAction) => void;
    onClose: () => void;
}
export interface MarketplaceBrowserHandle {
    handleInput: (input: string, key: Key) => boolean;
}
declare const MarketplaceBrowser: React.ForwardRefExoticComponent<MarketplaceBrowserProps & React.RefAttributes<MarketplaceBrowserHandle>>;
export default MarketplaceBrowser;
//# sourceMappingURL=MarketplaceBrowser.d.ts.map