UNPKG

681 BTypeScriptView Raw
1import { AxiosRequestConfig } from 'axios';
2import { IVikaClientConfig } from "./interface";
3export declare const wait: (timeout: number) => Promise<unknown>;
4export declare const chunks: (arr: any[], chunkSize: number) => any[][];
5export declare const getResourceId: (url?: string | undefined) => string | null;
6export declare const QPSController: (QPS?: number, OFFSET?: number) => (config: AxiosRequestConfig) => Promise<AxiosRequestConfig>;
7export declare const mergeConfig: (config: IVikaClientConfig) => IVikaClientConfig;
8export declare const subBeforeIfHaving: (str: string | undefined, searchString: string) => string | undefined;
9export declare const isBrowser: boolean;