// The build-time values Vite substitutes into the browser bundles. // // Vite ships these as `vite/client`, which resolves only inside a package // that depends on vite. The type check runs from the workspace root, where // it does not, so the two the browsers read are declared here instead. interface ImportMetaEnv { /** The PLC directory a DID is resolved against. */ readonly VITE_PLC_URL?: string; /** The DNS-over-HTTPS resolver a handle is resolved against. */ readonly VITE_DOH_URL?: string; } interface ImportMeta { readonly env?: ImportMetaEnv; }