/** * Base class for all resources */ import { HttpClient } from "./HttpClient"; import { type RequestOptions } from "./types"; export declare abstract class BaseResource { protected client: HttpClient; constructor(httpClient: HttpClient); /** * Helper method for making GET requests */ protected get(path: string, params?: Record, options?: RequestOptions): Promise; /** * Helper method for making POST requests */ protected post(path: string, body?: unknown, options?: RequestOptions): Promise; /** * Helper method for making PUT requests */ protected put(path: string, body?: unknown, options?: RequestOptions): Promise; /** * Helper method for making DELETE requests */ protected delete(path: string, options?: RequestOptions): Promise; /** * Helper method for making PATCH requests */ protected patch(path: string, body?: unknown, options?: RequestOptions): Promise; /** * Build a path with parameters * Example: buildPath('/sessions/:id', { id: '123' }) => '/sessions/123' */ protected buildPath(template: string, params: Record): string; }