/// <reference types="react" />
/**
 * Return an equivalent to moment(date).format('L') without moment
 * @param {*} dateObject
 */
export declare const formatDate: (dateObject: any) => string;
export interface SearchResultItemProps {
    node: {
        id: string;
        created: string;
        uploader: {
            id: string;
            name: string;
        };
        public: boolean;
        permissions: {
            id: string;
            userPermissions: [
                {
                    userId: string;
                    level: string;
                    access: string;
                    user: {
                        id: string;
                        name: string;
                        email: string;
                        provider: string;
                    };
                }
            ];
        };
        metadata: {
            ages: number[];
        };
        latestSnapshot: {
            id: string;
            size: number;
            summary: {
                pet: {
                    BodyPart: string;
                    ScannerManufacturer: string;
                    ScannerManufacturersModelName: string;
                    TracerName: string[];
                    TracerRadionuclide: string;
                };
                modalities: string[];
                sessions: [];
                subjects: string[];
                subjectMetadata: [
                    {
                        participantId: string;
                        age: [{
                            age?: number;
                        }];
                        sex: string;
                        group: null;
                    }
                ];
                tasks: string[];
                size: number;
                totalFiles: number;
                dataProcessed: boolean;
            };
            issues: [
                {
                    severity: string;
                }
            ];
            description: {
                Name: string;
            };
        };
        analytics: {
            views: number;
            downloads: number;
        };
        stars: [
            {
                userId: string;
                datasetId: string;
            }
        ];
        followers: [
            {
                userId: string;
                datasetId: string;
            }
        ];
        snapshots: [
            {
                id: string;
                created: string;
                tag: string;
            }
        ];
    };
    profile: Record<string, any>;
    datasetTypeSelected?: string;
    hasEditPermissions: (permissions: any, userId: any) => boolean;
}
export declare const SearchResultItem: ({ node, profile, datasetTypeSelected, hasEditPermissions, }: SearchResultItemProps) => JSX.Element;
//# sourceMappingURL=SearchResultItem.d.ts.map