import type { RequestInit, BodyInit } from 'node-fetch'; import { Action } from './objects/Action'; declare type Client = (uri: string, body: BodyInit, opts?: RequestInit) => Promise; declare type Method = RequestInit & { json?: boolean; object?: string; path: string; payload?: T; variables?: Record; }; export declare class FleetResource { client: Client; path: string; constructor(client: Client); createMethod>({ object, path, variables, payload, ...options }: Method): Promise; getVariables(variables?: Record): string; } export {};