import { ComponentLike, SourceComponent } from '../resolve'; import { ComponentStatus, DeployMessage, FileResponse, MetadataApiDeployStatus } from './types'; type DeployMessageWithComponentType = DeployMessage & { componentType: string; }; /** * Fix any issues with the deploy message returned by the api. * TODO: remove cases if fixes are made in the api. */ export declare const sanitizeDeployMessage: (message: DeployMessage) => DeployMessageWithComponentType; export declare const createResponses: (projectPath?: string) => (component: SourceComponent, responseMessages: DeployMessage[]) => FileResponse[]; /** * Groups messages from the deploy result by component fullName and type */ export declare const getDeployMessages: (result: MetadataApiDeployStatus) => Map; export declare const UI_BUNDLE_RESOURCE_TYPE = "WebApplicationResource"; /** Server-generated internal files that should not appear in per-file deploy results. */ export declare const isUiBundleInternalPath: (resourceFullName: string) => boolean; export declare const isUiBundleResourceMessage: (msg: DeployMessage) => boolean; /** Strips "AppName/" prefix from the resource fullName and joins with the local content path. */ export declare const uiBundleResourceFullNameToFilePath: (appContentPath: string, appFullName: string, resourceFullName: string) => string; export declare const getState: (message: DeployMessage) => ComponentStatus; export declare const isComponentNotFoundWarningMessage: (message: DeployMessage) => message is DeployMessage & Required>; export declare const toKey: (component: ComponentLike) => string; export declare const shouldConvertPaths: boolean; export {};