export interface TwitterAvatarResponse { url: string; html?: string; } export interface ErrorResponse { err: boolean; message: string; } declare const useTwitterAvatar: (username: string) => { twitterAvatar: TwitterAvatarResponse | null; error: ErrorResponse | null; loading: boolean; }; export default useTwitterAvatar;