import { PluginLoadType } from '@/common/plugin/PluginLoadComponent';
export interface PluginManifest {
    app: {
        id: string;
        name: string;
        key: string;
        env: Record<string, any>[];
    };
    key: string;
    title: string;
    originalKey: string;
    route?: string;
    resource: {
        key: string;
        url: string;
    };
    loadType?: PluginLoadType;
}
export declare type UsePluginManifestType = (props: {
    module: string;
    workspaceKey?: string | string[];
}) => {
    loading: boolean;
    manifest: Array<PluginManifest>;
};
export declare const VIEW_ACTION_MAX_NUMBER = 4;
export declare const usePluginManifest: UsePluginManifestType;
