import { AxiosInstance } from 'axios'; import { SSXLogFields } from './types'; /** * Abstracts the fetch API to append correct headers, host and parse * responses to JSON for POST requests. * @param api - Axios Instance. * @param route - Request route. * @param body - Request body. * @returns True (success) or false (error). */ export declare const ssxPost: (api: AxiosInstance, route: string, body: any) => Promise; /** * Registers a new event to the API. * @param api - Axios Instance. * @param apiKey - SSX Platform API Key. * @param data - SSXLogFields to log. * @returns True (success) or false (error). */ export declare const ssxLog: (api: AxiosInstance, apiKey: string, data: SSXLogFields) => Promise; //# sourceMappingURL=utils.d.ts.map