import type { Composer } from '../../../../types/command.types.js'; import type { CcApiType } from '../../types/cc-api.types.js'; import type { Addon } from '../addon/addon.types.js'; import type { NetworkGroup, NetworkGroupMember, NetworkGroupPeer } from './network-group.types.js'; export declare function waitForNetworkGroupCreation(composer: Composer, ownerId: string, networkGroupId: string): Promise; export declare function waitForNetworkGroupDeletion(composer: Composer, ownerId: string, networkGroupId: string): Promise; export declare function waitForNetworkGroupMemberCreation(composer: Composer, ownerId: string, networkGroupId: string, memberId: string): Promise; export declare function waitForNetworkGroupMemberDeletion(composer: Composer, ownerId: string, networkGroupId: string, memberId: string): Promise; export declare function waitForNetworkGroupPeerCreation(composer: Composer, ownerId: string, networkGroupId: string, peerId: string): Promise; export declare function waitForNetworkGroupPeerDeletion(composer: Composer, ownerId: string, networkGroupId: string, peerId: string): Promise; /** * @param ngId The Network Group ID * @param memberId The member ID */ export declare function constructNetworkGroupMember(ngId: string, memberId: string): Omit; export declare function generateNetworkGroupId(): Promise; export declare function generateExternalMemberId(): Promise; /** * Maps each supported addon provider ID to the realId prefix used by the Clever Cloud API. * Both facts (supported providers and their realId prefixes) are kept here to prevent drift. * * key — provider ID (e.g. 'postgresql-addon') * value — realId prefix (e.g. 'postgresql_') */ export declare const NETWORK_GROUP_SUPPORTED_ADDON_PROVIDERS: Map; /** * Returns true if the given addon is a valid network group member candidate. * An addon is a valid candidate if: * - Its provider ID is in NETWORK_GROUP_SUPPORTED_ADDON_PROVIDERS * - Its plan slug is not "dev" */ export declare function isNetworkGroupAddonCandidate(addon: Addon): boolean; //# sourceMappingURL=network-group-utils.d.ts.map