/** Endpoints owned and resolved by the SDK. */ export interface AithosSdkEndpoints { /** Compute proxy base URL — Bedrock invocation. Default `https://compute.aithos.be`. */ readonly compute: string; /** * Wallet base URL — Stripe top-up Checkout session creation. * * Production target: `https://wallet.aithos.be`. During the alpha we accept * a raw AWS Lambda Function URL; both shapes work because the SDK only * suffixes a fixed path to it. */ readonly wallet: string; /** * Web extractor proxy base URL — `aithos.web_extract`. Default * `https://extract.aithos.be`. Same JSON-RPC + signed-envelope shape * as the compute proxy, distinct audience so a mandate can hold one * scope without the other. */ readonly web: string; /** * Data PDS base URL — the `aithos.data.*` sub-protocol Personal Data Store. * Default `https://pds.aithos.be`. Previously every app had to pass a raw * `execute-api` URL to `createDataClient`; this centralizes it on the vanity * domain (CloudFront-fronted, same as the other surfaces). Used by * `createDataClient` / `createDelegateDataClient` / `createAppendDataClient`. * Override for self-hosting or staging. */ readonly pds: string; /** * Assets PDS base URL — the assets sub-protocol. This is a **separate** API * Gateway from the data PDS (it exposes the same `/mcp/primitives/...` paths, * so it needs its own host). Default `https://assets.aithos.be`. Used by * `createAssetsClient`. Override for self-hosting or staging. */ readonly assets: string; /** * Protocol API base URL (ethos reads/writes — `get_ethos_manifest`, * `get_ethos_section`, `publish_ethos_edition`). Default `https://api.aithos.be`. * Reached through `@aithos/protocol-client`; the SDK propagates this to the * client via `configureEndpoints` on construction. */ readonly api: string; /** * CDN base URL for immutable signed editions / DID documents. Default * `https://cdn.aithos.be`. Also propagated to protocol-client. */ readonly cdn: string; /** * Auth backend base URL (custodial sign-up/sign-in, magic-link email * verification, password reset, Google SSO). Consumed by AithosAuth — * pass it as `authBaseUrl`: * `new AithosAuth({ authBaseUrl: DEV_SDK_ENDPOINTS.auth, ... })`. * Optional so hand-rolled endpoint objects predating this field keep * compiling; both presets carry it. */ readonly auth?: string; } /** Production defaults. */ export declare const DEFAULT_SDK_ENDPOINTS: AithosSdkEndpoints; /** * Dev-account preset — every endpoint on the isolated `*.dev.aithos.be` infra. * Pass to the SDK as `new AithosSDK({ ..., endpoints: DEV_SDK_ENDPOINTS })` to * point an app at the dev account (api/cdn flow to protocol-client too). */ export declare const DEV_SDK_ENDPOINTS: AithosSdkEndpoints; /** Compose the full compute-invoke URL: `${compute}/v1/invoke`. */ export declare function computeInvokeUrl(endpoints: AithosSdkEndpoints): string; /** Compose the full web-extract URL: `${web}/v1/invoke`. */ export declare function webInvokeUrl(endpoints: AithosSdkEndpoints): string; /** Compose the full top-up-checkout URL: `${wallet}/v1/wallet/topup/checkout`. */ export declare function walletTopupCheckoutUrl(endpoints: AithosSdkEndpoints): string; /** * Resolve a partial override on top of the production defaults. Used by the * SDK constructor. */ export declare function resolveEndpoints(override?: Partial): AithosSdkEndpoints; //# sourceMappingURL=endpoints.d.ts.map