/**
 * 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 { Plugin } from '../application/Plugin';
export declare class NocoBaseBuildInPlugin extends Plugin {
    afterAdd(): Promise<void>;
    /**
     * Redirect component for root path:
     * - If there is a token, go to `/admin` (existing behavior)
     * - If not logged in, go to `/signin?redirect=/admin`
     * This avoids the race where `/` first jumps to `/admin` before auth check.
     */
    private static RootRedirect;
    load(): Promise<void>;
    addRoutes(): void;
    addComponents(): void;
    addPlugins(): Promise<void>;
}
