export type ActiveProviderConnectionKind = "credential" | "credentialless"; export interface ActiveProviderDescriptor { provider: string; connectionKind: ActiveProviderConnectionKind; } /** * Project active-provider inputs to the exact public DTO shape. * * Connection credentials take precedence when the same provider is reported * more than once. Provider IDs are sorted by their UTF-8 bytes without * normalization. */ export declare function projectActiveProviderDescriptors(descriptors: readonly { provider: string; connectionKind: unknown; }[]): ActiveProviderDescriptor[]; export declare const ACTIVE_PROVIDER_RESOLUTION_ERROR_CODE: "internal"; export declare const ACTIVE_PROVIDER_RESOLUTION_ERROR_MESSAGE = "Unable to resolve active providers."; export declare class ActiveProviderResolutionError extends Error { readonly code: "internal"; constructor(); }