export type UserSearchResult = {
    userName: string;
    displayName: string;
    email?: string | null;
    avatarUrl?: string | null;
};
export declare function searchUsers(query: string, limit?: number): Promise<UserSearchResult[]>;
/**
 * Uploads the current user's avatar image. The global fetch wrapper attaches the Parhelia
 * CSRF header automatically. Returns the new version-stamped avatar URL on success.
 */
export declare function uploadAvatar(file: File): Promise<{
    avatarUrl: string;
}>;
