import * as React from 'react';
import { IPlatformApp } from '@cloudbase/cals';
export declare function upsertFavicon(favicon: any, app: any, entryDoc?: Document): void;
export declare function injectExternals(runtime?: Window & typeof globalThis): void;
export declare function loadDependencies(data: {
    dependencies: any[];
    runtime?: Window;
} | any[], options?: {
    cache: boolean;
} | boolean): Promise<{
    controlMap: any;
    componentsMap: {};
    componentActionsMap: {};
}>;
export declare const loadDependiences: typeof loadDependencies;
export declare function formatDependiencesMap(components: any, controls: any): {
    controlMap: any;
    componentsMap: {};
    componentActionsMap: {};
};
export declare function componentMetaFilter(meta: any): {
    name: any;
    title: any;
    platform: any;
    shortcut: any;
};
export declare function WrapComponentFieldWithPropsHook({ Field, isPlainProps, sourceKey }: {
    Field: any;
    isPlainProps: any;
    sourceKey: any;
}): React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
export declare function loadExternalResources({ externalResources, runtime, }: {
    externalResources?: IPlatformApp['externalResources'];
    runtime?: Window;
}, options?: {
    cache?: boolean;
}): Promise<void>;
export declare function loadRuntimeDependencies(): Promise<{
    controlMap: {};
    componentsMap: {
        [x: string]: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
    };
    componentActionsMap: {};
}>;
export declare function loadMockDependencies(): Promise<{
    controlMap: {};
    componentsMap: {};
    componentActionsMap: {};
}>;
