import type { PropfindRequest } from "@/worker/xml/dav-request"; import type { QName } from "@/worker/xml/namespaces"; import type { Propstat, PropValue } from "@/worker/dav/multistatus"; export interface DavPropRenderer { supportedProps(context: TContext): QName[]; propValue(resource: TResource, prop: QName, context: TContext): PropValue | null; propstats(resource: TResource, request: PropfindRequest, context: TContext): Propstat[]; } export type PropstatsRenderer = (resource: TResource) => Propstat[];