import type Api from './types/index.js';
import { HttpMethod } from './lib/api.js';
import { SwellCommand } from './swell-command.js';
export declare const headerFlag: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
export declare abstract class SwellApiCommand extends SwellCommand {
    protected abstract get method(): HttpMethod;
    protected request(command: typeof SwellApiCommand, requestOptions?: Api.RequestOptions): Promise<void>;
    protected catch(error: Error): Promise<any>;
    private parseCommand;
    /**
     * 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 parseHeaders;
    private parseQueryString;
    private processBody;
    private isFilePath;
    private handleResponse;
    private onSuccess;
    private onError;
}
