import { ReactNode } from 'react'; import { NextcloudDocument } from '@edifice.io/client'; import { CardProps } from '../../../components/Card'; export interface NextcloudFileCardProps extends CardProps { doc: NextcloudDocument; /** * Id of the user who owns the Nextcloud document, used to build the preview URL. */ userId: string; /** * Custom icon to override the default based on file type * Can be a string or a React node */ customIcon?: ReactNode; /** * Custom color class to override the default based on file type * Example: "bg-purple-300" or any valid CSS class */ customColor?: string; } declare const NextcloudFileCard: { ({ doc, userId, isClickable, isSelectable, isSelected, onClick, className, onSelect, isFocused, app, customIcon, customColor, }: NextcloudFileCardProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default NextcloudFileCard;