import { default as React, HTMLProps } from 'react'; import { NormalizedDagNode } from '../../types.js'; import { LinkObject, LargeLinksTableProps } from './links-table'; declare const nodeStyles: { 'dag-cbor': { shortName: string; name: string; color: string; }; 'dag-json': { shortName: string; name: string; color: string; }; raw: { shortName: string; name: string; color: string; }; 'dag-pb': { shortName: string; name: string; color: string; }; 'dag-jose': { shortName: string; name: string; color: string; }; json: { shortName: string; name: string; color: string; }; 'hamt-sharded-directory': { shortName: string; name: string; color: string; }; 'eth-block': { shortName: string; name: string; color: string; }; 'eth-block-list': { shortName: string; name: string; color: string; }; 'eth-tx-trie': { shortName: string; name: string; color: string; }; 'eth-tx': { shortName: string; name: string; color: string; }; 'eth-state-trie': { shortName: string; name: string; color: string; }; unknown: { shortName: string; name: string; color: string; }; }; export type NodeStyle = keyof typeof nodeStyles; export declare function shortNameForNode(type?: NodeStyle): string; export declare function nameForNode(type?: NodeStyle): string; export declare function colorForNode(type?: NodeStyle): string; export declare function toExpandPathsNotation(localPath: string): string[]; export interface ObjectInfoProps extends Omit, 'data' | 'size' | 'type'> { className: string; type: string | number; cid: string; localPath: string; size: bigint | undefined; data: NormalizedDagNode['data']; links: LinkObject[]; format: string; onLinkClick: LargeLinksTableProps['onLinkClick']; gatewayUrl: string; publicGatewayUrl: string; } export declare const ObjectInfo: React.FC; export default ObjectInfo;