import { CompassExternalAliasInput, Component, CreateLinkInput } from '@atlassian/forge-graphql-types'; import { CompassYaml } from '../../../../types'; import { CompassRequests } from '../../../../compass-requests'; import { ConfigAsCodeRequests } from '../../../../config-as-code-requests'; type UpdateActionWithExistingComponentByNameInput = { requestApi: CompassRequests; componentByName: Component; componentYaml: CompassYaml; deduplicationId?: string; oldPath?: string; newPath: string; cloudId: string; externalSourceURL?: string; additionalLinks?: CreateLinkInput[]; additionalExternalAliases?: CompassExternalAliasInput[]; }; type UpdateOrCreateActionWithComponentPathInput = { requestApi: CompassRequests; componentYaml: CompassYaml; deduplicationId?: string; oldPath?: string; newPath: string; cloudId: string; externalSourceURL?: string; additionalLinks?: CreateLinkInput[]; additionalExternalAliases?: CompassExternalAliasInput[]; }; type UnlinkComponentIfRetargetedByNewIdInput = { requestApi: CompassRequests; configAsCodeApi: ConfigAsCodeRequests; cloudId: string; componentYaml: CompassYaml; oldPath?: string; deduplicationId?: string; additionalExternalAliases?: CompassExternalAliasInput[]; }; declare const updateActionForExistingComponentByName: ({ requestApi, componentByName, oldPath, newPath, deduplicationId, componentYaml, cloudId, externalSourceURL, additionalLinks, additionalExternalAliases, }: UpdateActionWithExistingComponentByNameInput) => Promise; declare const updateOrCreateComponentByPath: ({ requestApi, oldPath, newPath, deduplicationId, componentYaml, cloudId, externalSourceURL, additionalLinks, additionalExternalAliases, }: UpdateOrCreateActionWithComponentPathInput) => Promise; declare const unlinkComponentIfRetargetedByNewId: ({ requestApi, configAsCodeApi, cloudId, componentYaml, oldPath, deduplicationId, additionalExternalAliases, }: UnlinkComponentIfRetargetedByNewIdInput) => Promise; export { updateActionForExistingComponentByName, updateOrCreateComponentByPath, unlinkComponentIfRetargetedByNewId, };