import{w as t,i as r,W as s,J as u,bu as i,bv as y,bw as o,bx as b}from"./index-Dbk1Plmn.js";function c(e){return t({queryKey:["entities",e],queryFn:()=>u(e),placeholderData:s,enabled:r()})}function q(e){return t({queryKey:["entity",e],queryFn:()=>i(e),enabled:r()&&!!e})}function v(e){return t({queryKey:["entity-observations",e],queryFn:()=>y(e),enabled:r()&&!!e})}function E(e,n){const a=(n==null?void 0:n.expand_entities)??!1;return t({queryKey:["entity-relationships",e,a],queryFn:()=>o(e,{expand_entities:a}),enabled:r()&&!!e})}function f(e,n){return t({queryKey:["field-provenance",e,n],queryFn:()=>b(e,n),enabled:r()&&!!e&&!!n})}export{f as a,q as b,v as c,E as d,c as u};
