import type { Interceptor } from "@connectrpc/connect";
export declare function validateAuthToken(token: string): string;
/** apiKey is an alias for authToken; an explicit authToken wins, then the environment. */
export declare function resolveAuthToken(authToken?: string, apiKey?: string): string;
export declare function createAuthInterceptor(token: string): Interceptor;
export declare function setAuthHeaders(headers: Headers, token: string): void;
/** Leads the User-Agent with the SDK product, keeping any existing value. */
export declare function setSdkIdentityHeaders(headers: Headers): void;
