import { type Resource } from "https://deno.land/x/netzo@0.4.40/plugins/api/resources/mod.ts";
definition: { [k: string]: unknown; type?: "denokv" | "http"; options?: Record<string, unknown>; find: (query?: Record<string, unknown>) => MaybePromise<T[]>; get: (id: Id) => MaybePromise<T>; create: (data: Partial<T>) => MaybePromise<T>; update: (id: Id, data: T) => MaybePromise<T>; patch: (id: Id, data: Partial<T>) => MaybePromise<T>; remove: (id: Id) => MaybePromise<{ ok: boolean; }>; }