import type { Field } from "./Field.js"; import type { Operation } from "./Operation.js"; import type { Parameter } from "./Parameter.js"; import type { Nullable } from "./types.js"; export interface ResourceOptions extends Nullable<{ id?: string; title?: string; description?: string; deprecated?: boolean; fields?: Field[]; readableFields?: Field[]; writableFields?: Field[]; createFields?: Field[]; listFields?: Field[]; parameters?: Parameter[]; getParameters?: () => Promise; operations?: Operation[]; }> { } export interface Resource extends ResourceOptions { } export declare class Resource { name: string; url: string; constructor(name: string, url: string, options?: ResourceOptions); } //# sourceMappingURL=Resource.d.ts.map