/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React from 'react';
import { AssetDisplay, AssetFetcher, AssetVersionInfo } from './types';
import { InstallerService } from './AssetInstallButton';
import { Size } from '@kapeta/ui-web-types';
export type BlockHubDetailsPreviewer = (asset: AssetDisplay, size: Size) => React.ReactNode;
export interface BlockhubDetailsProps {
    asset: AssetDisplay;
    service?: InstallerService;
    fetcher: AssetFetcher;
    versionInfo?: AssetVersionInfo;
    tabId?: 'general' | 'dependencies' | 'versions' | string;
    onTabChange: (tabId: 'general' | 'dependencies' | 'versions') => void;
    onBackAction?: () => void;
    previewRenderer?: BlockHubDetailsPreviewer;
    disableNavigation?: boolean;
    onAssetClick?: (asset: AssetDisplay) => void;
    linkMaker?: (fullName: string, version: string) => string;
    subscriptions?: boolean;
    contextHandle?: string;
}
export declare function BlockhubDetails(props: BlockhubDetailsProps): React.JSX.Element;
