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; fields?: Field[]; readableFields?: Field[]; writableFields?: Field[]; getParameters?: () => Promise; operations?: Operation[]; deprecated?: boolean; parameters?: Parameter[]; }> { } export declare class Resource implements ResourceOptions { name: string; url: string; id?: string | null; title?: string | null; description?: string | null; fields?: Field[] | null; readableFields?: Field[] | null; writableFields?: Field[] | null; getParameters?: (() => Promise) | null; operations?: Operation[] | null; deprecated?: boolean | null; parameters?: Parameter[] | null; constructor(name: string, url: string, options?: ResourceOptions); } //# sourceMappingURL=Resource.d.ts.map