import { UserRepository } from '@amityco/ts-sdk-react-native';
type UseUserParams = {
    userId: Parameters<typeof UserRepository.getUser>[0];
    enabled?: boolean;
};
export declare function useUser({ userId, enabled }: UseUserParams): {
    isLoading: boolean;
    error: Error;
    refresh: () => () => void;
    user: Amity.User;
};
export {};
//# sourceMappingURL=useUser.d.ts.map