import { IFetchOptions, IRequestConfig, IRequestOptions, ResponseObject, SDKRequestInterface } from '@cloudbase/adapter-interface'; import type { ICustomReqOpts } from './types'; import { ICloudbaseConfig } from '@cloudbase/types'; export declare class NodeRequest implements SDKRequestInterface { config: IRequestConfig & ICloudbaseConfig; private readonly timeout; private readonly restrictedMethods; constructor(config: IRequestConfig & ICloudbaseConfig); getClientCredential(opts: { origin: string; }): Promise; getRealUrl(url: string, headers: Record, body: any): string; getReqOptions: (url: string, options: { method?: any; headers: any; body?: any; credentials?: string; signal?: AbortSignal; url?: any; }) => Promise<{ method?: any; headers: any; body?: any; credentials?: string; signal?: AbortSignal; url?: any; }>; get: (options: IRequestOptions) => Promise; post: (options: IRequestOptions) => Promise; put: (options: IRequestOptions) => Promise; upload: (options: IRequestOptions) => Promise; download: (options: IRequestOptions) => Promise; fetch: (options: Omit & { signal?: AbortSignal; customReqOpts?: ICustomReqOpts; }) => Promise; request: (options: IRequestOptions, enableAbort?: boolean) => Promise; }