import { NextcloudDocument, Role } from '@edifice.io/client'; /** * Nextcloud component properties */ export interface NextcloudProps { /** * Notify parent when media elements are successfully selected. */ onSelect: (result: NextcloudDocument[]) => void; /** * Boolean to know if we can select 1 or many files. */ multiple?: boolean | undefined; /** * Document roles to filter files by; null (default) shows all roles. */ roles?: Role | Role[] | null; /** * Optional class for styling purpose */ className?: string; } declare const Nextcloud: ({ onSelect, multiple, roles, className, }: NextcloudProps) => import("react/jsx-runtime").JSX.Element; export default Nextcloud;