/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { AxiosInstance } from 'axios';
import { Application, ApplicationOptions } from '../index';
type URL = string;
type ResponseData = any;
type MockApis = Record<URL, ResponseData>;
export declare const mockApi: (axiosInstance: AxiosInstance, apis?: MockApis, delayResponse?: number) => (apis?: MockApis) => void;
export declare const mockAppApi: (app: Application, apis?: MockApis, delayResponse?: number) => (apis?: MockApis) => void;
export interface MockAppOptions extends ApplicationOptions {
    apis?: MockApis;
    delayResponse?: number;
    enableMultipleDataSource?: boolean;
}
export declare const mockApp: (options: MockAppOptions) => Application;
export {};
