import { CcApiCompositeCommand, CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { CcApiComposer } from '../../types/cc-api.types.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { AddApplicationToAddonLinkCommandInput, AddApplicationToApplicationLinkCommandInput, AddLinkCommandInput } from './add-link-command.types.js'; /** * Links an application to another application or to an add-on. * * The target kind is picked from the input. Once linked, the target's configuration is injected * into the application's environment on its next deployment. * * @endpoint [PUT] /v2/organisations/:XXX/applications/:XXX/dependencies/:XXX * @endpoint [POST] /v2/organisations/:XXX/applications/:XXX/addons * @group Link * @version 2 */ export declare class AddLinkCommand extends CcApiCompositeCommand { compose(params: AddLinkCommandInput, composer: CcApiComposer): Promise; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } /** * Links an application to another application. * * @endpoint [PUT] /v2/organisations/:XXX/applications/:XXX/dependencies/:XXX * @group Link * @version 2 */ export declare class AddApplicationToApplicationLinkCommand extends CcApiSimpleCommand { toRequestParams(params: AddApplicationToApplicationLinkCommandInput): Partial; transformCommandOutput(): undefined; isIdempotent(): boolean; } /** * Links an application to an add-on. * * @endpoint [POST] /v2/organisations/:XXX/applications/:XXX/addons * @group Link * @version 2 */ export declare class AddApplicationToAddonLinkCommand extends CcApiSimpleCommand { toRequestParams(params: AddApplicationToAddonLinkCommandInput): Partial; getIdsToResolve(): IdResolve; transformCommandOutput(): undefined; isIdempotent(): boolean; } //# sourceMappingURL=add-link-command.d.ts.map