/** * Tofu shim — centralises all imports from optimus-tofu. * * Reads ~/opt-ai-sec/management/optimus_dev.env at startup: * - No file / unreadable → production (ignores OPTIMUS_ENVIRONMENT). * - File present → environment= line in file, then OPTIMUS_ENVIRONMENT, then production. * - environment=development → loads local dist (file-relative path) * - anything else → loads the published npm package * * All other source files import from this module, never directly from * "optimus-tofu", so the conditional lives in exactly one place. */ import type * as TofuTypes from "optimus-tofu"; export declare const loadEndpointBase: typeof TofuTypes.loadEndpointBase, buildStartupEndpointUrl: typeof TofuTypes.buildStartupEndpointUrl, createSignature: typeof TofuTypes.createSignature, persistAuthKey: typeof TofuTypes.persistAuthKey, readStoredAuthKey: typeof TofuTypes.readStoredAuthKey, ensureAuthentication: typeof TofuTypes.ensureAuthentication, getEndpointSource: typeof TofuTypes.getEndpointSource, canonicalizePayload: typeof TofuTypes.canonicalizePayload, getAuthKeyPath: typeof TofuTypes.getAuthKeyPath; export type { EndpointResponse, StoredAuthKey } from "optimus-tofu"; //# sourceMappingURL=tofu.d.ts.map