/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
export type ConnectionTone = 'success' | 'warning' | 'neutral';
export interface ConnectionPackageView {
    envVars: Array<{
        set: boolean;
    }>;
    isFulfilled: boolean;
}
export interface ConnectionFileView {
    files: string[];
    hasSpec: boolean;
    hasSurface: boolean;
    surfaceCount: number;
}
export interface ConnectionViewInput {
    status: string;
    loaded: boolean;
    file?: ConnectionFileView;
    pkg?: ConnectionPackageView;
}
export interface ConnectionDetailViewInput {
    kind: 'mcp' | 'rest' | 'files';
    tools?: unknown[];
    surface?: unknown[];
}
export declare function connectionCredentialLabel(pkg: ConnectionPackageView | undefined): string;
export declare function connectionCapabilityLabel(connection: ConnectionViewInput, detail: ConnectionDetailViewInput | null): string;
export declare function connectionFileLabel(file: ConnectionFileView | undefined): string;
export declare function connectionStatusLabel(connection: ConnectionViewInput): string;
export declare function connectionStatusTone(connection: ConnectionViewInput): ConnectionTone;
export declare function runtimeConnectionStatusTone(status: string): ConnectionTone;
