/** HTTP header carrying the identifier on axios (direct REST) calls */ export declare const TOMTOM_USER_AGENT_HEADER = "TomTom-User-Agent"; /** * maps-sdk global config key for the same identifier. Absent from the SDK's * public GlobalConfig type — callers must cast the put() argument. */ export declare const SDK_USER_AGENT_CONFIG_KEY = "tomtom-user-agent"; /** The naming grammar — single source of truth for every identifier */ export declare const USER_AGENT_NAME_GRAMMAR: RegExp; /** A user-agent name proven to match the grammar. Mint via userAgentName(). */ export type UserAgentName = string & { readonly __userAgentName: unique symbol; }; /** Validates a name against the grammar — the only way to mint a UserAgentName */ export declare function userAgentName(value: string): UserAgentName; /** Server user-agent name in stdio mode (local installs) */ export declare const MCP_SERVER_USER_AGENT_STDIO: UserAgentName; /** Server user-agent name in HTTP mode (default when MCP_TRANSPORT_MODE is unset) */ export declare const MCP_SERVER_USER_AGENT_HTTP: UserAgentName; export declare function resolveHttpServerUserAgentName(configuredUserAgentName?: string): UserAgentName; /** Builds the versioned wire value the gateway splits on "/", e.g. "TomTomMCPSDK/1.6.5" */ export declare function buildUserAgent(name: UserAgentName): string; /** Derives the MCP App name from a server name: same dimensions, layer token SDK -> APP */ export declare function deriveMcpAppUserAgentName(serverName: UserAgentName): UserAgentName;