UNPKG

@metis-w/api-client

Version:

Modern TypeScript HTTP API client with dynamic routes, parameterized endpoints, interceptors, and advanced features

12 lines 493 B
import { HTTPMethod } from "../types"; export interface MethodResolverOptions { defaultMethod?: HTTPMethod; methodRules?: Record<string, HTTPMethod>; } export declare class MethodResolver { private static readonly DIRECT_METHODS; private static readonly SEMANTIC_PATTERNS; static determineMethod(actionName: string, options?: MethodResolverOptions, explicitMethod?: HTTPMethod): HTTPMethod; private static matchesPattern; } //# sourceMappingURL=method-resolver.d.ts.map