import { Action, WithParsedExtension } from '@foscia/core'; import { HttpRequestConfig } from '../../../types'; /** * Prepare a generic HTTP request. * If given path starts with scheme (HTTPS, etc.), it will be used as the base * URL of action, otherwise it will only be used as path. * * @param pathOrBaseURL * @param config * * @category Enhancers */ declare const makeRequest: (pathOrBaseURL: string, config?: HttpRequestConfig) => (action: Action) => Promise & { httpRequestConfig: HttpRequestConfig; }, {}>>; declare const _default: WithParsedExtension(this: Action, pathOrBaseURL: string, config?: HttpRequestConfig): Action; }>; export default _default;