import { CustomActionTask, CustomActionTaskParams, CustomScript, RequestHandler, ResponseHandler } from '@reltio/mdm-sdk';
export declare const isValidCustomScript: (config?: CustomScript) => boolean;
export declare const isURLtoProcess: (url: string, processApi?: string[]) => boolean;
export declare const getWorkerURL: (uiPath: string, tenant: string) => string;
export declare const getRequestFakeUrl: (url: string, apiPath: string, reltioPath: string, tenant: string) => string;
export declare const getResponseFakeUrl: (url: string, apiPath: string, reltioPath: string) => string;
export declare const getProcessedTask: (task: CustomActionTask, apiPath: string, reltioPath: string, tenant: string) => CustomActionTask;
export declare const getFilesWithArrayBuffer: (files: FileList) => Promise<unknown[]>;
type ResetHTMLParams = {
    worker: Worker;
    setTooltip: any;
    html?: string;
    innerText?: string;
    setListenersToReset: any;
    setHtml: any;
};
export declare const resetHtml: ({ worker, setTooltip, innerText, html, setListenersToReset, setHtml }: ResetHTMLParams) => void;
export declare const setUpRequestInterceptor: ({ apiPath, reltioPath, tenant, processApiRequest, workerRef, setRequestListeners }: {
    apiPath: any;
    reltioPath: any;
    tenant: any;
    processApiRequest: any;
    workerRef: any;
    setRequestListeners: any;
}) => RequestHandler<RequestInit & CustomActionTaskParams>;
export declare const setUpResponseInterceptor: ({ reltioPath, apiPath, processApiResponse, workerRef, setResponseListeners }: {
    reltioPath: any;
    apiPath: any;
    processApiResponse: any;
    workerRef: any;
    setResponseListeners: any;
}) => ResponseHandler<RequestInit & CustomActionTaskParams>;
export {};
