import type { ConnectionKind } from '../config/connections/Connection.js';
import type { CreatableProviderConnectionType } from '../CreatableProvider/CreatableProvider.js';
import type { ProviderDescriptor } from './Provider.js';
/** Connection modes declared by a provider descriptor. */
export declare function descriptorConnectionTypes(descriptor: Pick<ProviderDescriptor, 'connectionTypes'>): readonly CreatableProviderConnectionType[];
/** Assert that a descriptor declares one unambiguous connection policy. */
export declare function assertValidDescriptorConnectionTypes(descriptor: Pick<ProviderDescriptor, 'connectionTypes' | 'id'>): void;
/** Whether a provider explicitly consumes no connection of its own. */
export declare function descriptorRequiresNoConnection(descriptor: Pick<ProviderDescriptor, 'connectionTypes'>): boolean;
/** Returns the descriptor matches connection type result exposed by this provider. */
export declare function descriptorMatchesConnectionType(descriptor: Pick<ProviderDescriptor, 'connectionTypes'>, connectionType: ConnectionKind): boolean;
//# sourceMappingURL=connectionTypes.d.ts.map