import type { Schema } from '../schema/Schema.js'; import type { Resource } from './Resource.js'; import { ResourceDefinition } from './Resource.js'; import type { StorableSpec } from './StorablePromise.js'; declare type ResourceMethodOptions = { storable?: boolean | Partial>; }; declare type ResourceMethod, R> = (this: Resource, resourceDef: ResourceDefinition, ...args: A) => R; export declare const decorateMethod: , A extends unknown[], R>(method: ResourceMethod, { storable }?: Partial>) => (this: Resource, ...args: A) => R; export declare const decorator: (options?: ResourceMethodOptions) => , A extends unknown[]>(_target: unknown, _key: PropertyKey, descriptor: TypedPropertyDescriptor>) => TypedPropertyDescriptor<(this: Resource, ...args: A) => R>; export {}; //# sourceMappingURL=ResourceMethod.d.ts.map