/** The catalog fields that name a connector's domains and logo. */ export type ConnectorLogoSource = { providerDomain?: string | null | undefined; mcpUrl?: string | null | undefined; /** A workspace's own MCP server keeps its address here instead of `mcpUrl`. */ endpointUrl?: string | null | undefined; connectionRef?: { providerDomain?: string | null | undefined; } | null | undefined; logoAssetPath?: string | null | undefined; }; /** "WWW.Linear.app " → "linear.app". */ export declare function normalizeConnectorDomain(domain: string): string; /** * Every domain each catalog entry is known by, mapped to its logo URL. The * provider's own domain is claimed first across the whole catalog, so another * entry's server host never takes over a provider's logo. */ export declare function connectorLogoIndex(catalog: readonly ConnectorLogoSource[], logoUrl: (logoAssetPath: string | null | undefined) => string | null | undefined): ReadonlyMap; /** The logo for a connector domain from an index built by `connectorLogoIndex`. */ export declare function connectorLogo(index: ReadonlyMap, domain: string | null | undefined): string | null;