import { Client } from './client.js'; import { IterablePromise } from './method.js'; import { FeatureFlag } from './types.js'; type ResourceRequestOptions = { method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'PATCH'; path?: string; paged?: boolean; }; export declare class Resource { path: string; entity: string; protected client: InstanceType; constructor(client: InstanceType); protected request(options: ResourceRequestOptions & { paged: true; }, ...args: (string | Record)[]): IterablePromise; protected request(options: ResourceRequestOptions & { paged?: false | never; }, ...args: (string | Record)[]): Promise; protected assertFeatureFlag(flag: FeatureFlag): void; } export {};