import { HttpMethod } from './lib/api.js'; import { SwellCommand } from './swell-command.js'; export declare abstract class SwellApiCommand extends SwellCommand { protected abstract get method(): HttpMethod; protected request(command: typeof SwellApiCommand, requestOptions?: Api.RequestOptions): Promise; protected catch(error: Error): Promise; private parseCommand; /** * Resolve app ObjectId from a friendly slug or return as-is if already an ObjectId. */ private resolveAppId; /** * Resolve function ID from app ID and function name. */ private resolveFunctionId; private isPlainObject; /** * Build a function invocation request via the admin /:functions endpoint. */ private buildFunctionCallRequest; private parseQueryString; private processBody; private isFilePath; private handleResponse; private onSuccess; private onError; }