import { e as CheckParams, f as CheckResult, A as AttachParams, C as CancelParams, T as TrackParams } from '../clientAttachTypes-BKYU9JhV.js';
import { A as AutumnError } from '../error-DHbclCVh.js';
import { G as GetEntityParams, E as Entity } from '../cusTypes-CvWNQ2-e.js';
import '../prodTypes-G6W3NUPg.js';
import 'zod/v4';

declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
    entity: Entity | null;
    isLoading: boolean;
    error: AutumnError | undefined | null;
    refetch: () => void;
    check: (params: CheckParams) => {
        data: CheckResult;
        error: null;
    } | {
        data: null;
        error: AutumnError;
    };
    attach: (params: AttachParams) => void;
    cancel: (params: CancelParams) => void;
    track: (params: TrackParams) => void;
};

export { useEntity };
