import { type CatalogTool } from "./catalog.js"; import { type ServerConfig } from "./config.js"; import { type CredentialStoreFactory, type OAuthIdentity } from "./auth.js"; import type { ServerStatus } from "./runtime.js"; import type { Theme } from "@earendil-works/pi-coding-agent"; export declare function serverMatrix(servers: ServerStatus[], loaded: ReadonlyMap, width?: number, theme?: Pick): string; /** Pi's string selector uses two columns of padding and a two-column marker. */ export declare function toolPickerLabel(tool: CatalogTool, index: number, columns?: number): string; export declare function toolSignature(tool: CatalogTool, limit?: number): string; export declare function inspectTool(tool: CatalogTool): string; /** Resolve only the credential identity, never headers or secret commands. */ export declare function oauthSettings(server: string, config: ServerConfig, cwd: string): OAuthIdentity; export declare function authenticationSummary(server: string, config: ServerConfig, cwd: string, storeFactory?: CredentialStoreFactory): Promise; /** Never render connection values: credentials can occur in URLs, args, or commands. */ export declare function inspectServer(name: string, config: ServerConfig, status: string, authentication?: string): string;