import { APIOptions } from '../api/types'; import { ModArchBody } from '../types'; export declare const mergeRequestInit: (opts?: APIOptions, specificOpts?: RequestInit) => RequestInit; export declare const restGET: (host: string, path: string, queryParams?: Record, options?: APIOptions) => Promise; /** Standard POST */ export declare const restCREATE: (host: string, path: string, data: Record | FormData, queryParams?: Record, options?: APIOptions) => Promise; /** POST -- but with file content instead of body data */ export declare const restFILE: (host: string, path: string, fileContents: string, queryParams?: Record, options?: APIOptions) => Promise; /** POST -- but no body data -- targets simple endpoints */ export declare const restENDPOINT: (host: string, path: string, queryParams?: Record, options?: APIOptions) => Promise; export declare const restUPDATE: (host: string, path: string, data: Record, queryParams?: Record, options?: APIOptions) => Promise; export declare const restPATCH: (host: string, path: string, data: Record, queryParams?: Record, options?: APIOptions) => Promise; export declare const restDELETE: (host: string, path: string, data: Record, queryParams?: Record, options?: APIOptions) => Promise; export declare const isModArchResponse: (response: unknown) => response is ModArchBody; export declare const assembleModArchBody: (data: T) => ModArchBody; //# sourceMappingURL=apiUtils.d.ts.map