import { AppComponentDetailAddComponentVersionParams, AppComponentDetailFetchComponentInfoParams, BaseResponse, ComponentEditVersionEntity, ComponentEntity, ComponentRemote, ComponentRemoteSaveParams, ComponentsLiveVersionUpdateParams, ComponentsVersionFetchParams, ComponentsVersionPublishParams, ComponentsVersionUpdateParams, EditorBatchPublishParams, EditorComponentSaveParams, PackageType, PaginationReqParams, RemoteComponentFetchParams, RemoteComponentItem, ResponseBody } from '@/types/index';
export declare const postComponents: (params: any) => Promise<unknown>;
export declare const putComponentsStatus: (params: any) => Promise<unknown>;
export interface GetComponentSearchsProps extends PaginationReqParams {
    applicationId: string;
    type: PackageType;
}
export declare const getComponentSearchs: (params: GetComponentSearchsProps) => Promise<ResponseBody<ComponentEntity[]>>;
export declare const getComponentsContents: (params: AppComponentDetailFetchComponentInfoParams) => Promise<unknown>;
export declare const postComponentsVersions: (params: AppComponentDetailAddComponentVersionParams) => Promise<BaseResponse>;
export declare const putComponentsVersions: (params: ComponentsVersionUpdateParams) => Promise<BaseResponse>;
export declare const getComponentsVersionSearchs: (params: ComponentsVersionFetchParams) => Promise<BaseResponse>;
export declare const putComponentsVersionPublish: (params: ComponentsVersionPublishParams) => Promise<BaseResponse>;
export declare const putComponentsLiveVersion: (params: ComponentsLiveVersionUpdateParams) => Promise<BaseResponse>;
export interface GetComponentsEditVersionsProps {
    applicationId: string;
    id: string;
}
export declare const getComponentsEditVersions: (params: GetComponentsEditVersionsProps) => Promise<BaseResponse<ComponentEditVersionEntity>>;
export declare const searchComponentRemotes: (params: RemoteComponentFetchParams) => Promise<BaseResponse<ComponentRemote[]>>;
export declare const fetchRemoteComponents: (params: RemoteComponentFetchParams) => Promise<ResponseBody<RemoteComponentItem[]>>;
export declare const saveComponentRemote: (params: ComponentRemoteSaveParams) => Promise<BaseResponse<ComponentRemote[]>>;
export declare const saveEditors: (params: EditorComponentSaveParams) => Promise<BaseResponse<ComponentRemote[]>>;
export declare const batchPublishEditors: (params: EditorBatchPublishParams) => Promise<BaseResponse>;
