/**
 * 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 React, { FC } from 'react';
import { Plugin } from '../../../application/Plugin';
import { KeepAlive, useKeepAlive } from './KeepAlive';
import { NocoBaseDesktopRoute, NocoBaseDesktopRouteType } from './convertRoutesToSchema';
export * from './useDeleteRouteSchema';
export { KeepAlive, NocoBaseDesktopRouteType, useKeepAlive };
export declare const NocoBaseRouteContext: React.Context<NocoBaseDesktopRoute>;
export declare const CurrentRouteProvider: FC<{
    uid: string;
}>;
export declare const useCurrentRoute: () => NocoBaseDesktopRoute;
export declare const useAllAccessDesktopRoutes: () => {
    allAccessRoutes: NocoBaseDesktopRoute[];
    refresh: () => void;
};
export declare const AdminDynamicPage: () => React.JSX.Element;
export declare const LayoutContent: () => React.JSX.Element;
export declare const useMobileLayout: () => {
    isMobileLayout: boolean;
    setIsMobileLayout: React.Dispatch<React.SetStateAction<boolean>>;
};
export declare const InternalAdminLayout: () => React.JSX.Element;
export declare const AdminProvider: (props: any) => React.JSX.Element;
export declare const AdminLayout: (props: any) => React.JSX.Element;
export declare class AdminLayoutPlugin extends Plugin {
    afterAdd(): Promise<void>;
    load(): Promise<void>;
}
export declare function findRouteBySchemaUid(schemaUid: string, treeArray: any[]): any;
export declare function findFirstPageRoute(routes: NocoBaseDesktopRoute[]): any;
