export declare const isHuggingFaceUrl: (url: string) => boolean; /** * Returns an Authorization header only for Hugging Face URLs, so the token is * never sent to any other host. */ export declare const getHfAuthHeaders: (url: string, token?: string) => Record; export declare const validateHfToken: (token: string) => Promise;