import { APIClient as APIClientSDK } from '@tachybase/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;
    /** 该值会在 AntdAppProvider 中被重新赋值 */
    notification: any;
    cloneInstance(): APIClient;
    getHeaders(): {};
    service(uid: string): Result<any, any>;
    interceptors(): void;
    toErrMessages(error: any): any;
    handleNotificationError(error: any): Promise<any>;
    useNotificationMiddleware(): void;
    silent(): APIClient;
}
