/**
 * 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 { APIClient as APIClientSDK } from '@nocobase/sdk';
import { Result } from 'ahooks/es/useRequest/src/types';
import { Application } from '../application';
export declare class APIClient extends APIClientSDK {
    services: Record<string, Result<any, any>>;
    silence: boolean;
    app: Application;
    get notification(): import("antd/es/notification/interface").NotificationInstance;
    cloneInstance(): APIClient;
    getHostname(): string;
    getHeaders(): {};
    service(uid: string): Result<any, any>;
    interceptors(): void;
    toErrMessages(error: any): any;
    handleNotificationError(error: any): Promise<any>;
    useNotificationMiddleware(): void;
    silent(): APIClient;
}
