import { LanguageKeys } from "../../features/multi-lingual/index";
export type QueryString = Record<string, string | number | boolean | undefined | null> | string | undefined;
export type EndpointObject = {
    url: string;
    body?: object;
    headers?: object;
    method?: string;
    query?: QueryString;
};
export type Endpoint = string | EndpointObject;
export type FetchFromProps = {
    headers?: any;
    method?: 'POST' | 'GET';
    language?: LanguageKeys;
    body?: object;
    signal?: AbortSignal;
    query?: QueryString;
    additionalPath?: string;
};
export declare function buildQueryArray(query?: QueryString): string[];
export declare function parseEndpointObject(endpoint: Endpoint): EndpointObject;
export declare function fetchFrom(endpoint: Endpoint, props?: FetchFromProps): Promise<Response>;
