import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-B-1vi9za.js';
import { HookParams, HookResult } from './types.js';
import '../plan-CUExbmy9.js';
import '@tanstack/react-query';
import '../client/AutumnClientError.js';

type UseEntityParams = HookParams<ClientGetEntityParams, GetEntityResponse | null>;
type UseEntityResult = HookResult<GetEntityResponse | null>;
/**
 * Fetches an Autumn entity (sub-resource of a customer, eg. a seat or project).
 *
 * @returns Entity data including subscriptions, purchases, and balances.
 */
declare const useEntity: (params: UseEntityParams) => UseEntityResult;

export { type UseEntityParams, type UseEntityResult, useEntity };
