@anuma/sdk 10.6.2 → 10.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1894,35 +1894,6 @@ declare function buildAttachedFilesText(fileContext: string): string;
1894
1894
  */
1895
1895
  declare function attachFileContextToLastUserMessage(messages: LlmapiMessage[], fileContext: string): LlmapiMessage[];
1896
1896
 
1897
- /**
1898
- * What became of a restaurant booking or cancellation in one turn, read from
1899
- * the server's own tool result rather than from the model's reply.
1900
- */
1901
- type ReservationReceipt = {
1902
- kind: "booking" | "cancel";
1903
- /**
1904
- * `made`: the provider confirmed it. `not_made`: it did not happen.
1905
- * `already_done`: an earlier call in the conversation had already done it.
1906
- * `unknown`: the call reached the provider and its outcome is not known.
1907
- */
1908
- status: "made" | "not_made" | "already_done" | "unknown";
1909
- venueName: string;
1910
- /** As the call sent it, e.g. `2026-10-23`. */
1911
- day: string;
1912
- /** As the call sent it, e.g. `9:00 PM`. */
1913
- time: string;
1914
- partySize?: number;
1915
- reservationId?: string;
1916
- /** Resy page where the user can see the reservation. */
1917
- resyUrl?: string;
1918
- /** The restaurant's own cancellation terms, when the booking result carries them. */
1919
- feeSummary?: string;
1920
- /** The provider's stated reason, when it did not happen. */
1921
- reason?: string;
1922
- };
1923
- /** One receipt per kind for the turn's booking and cancel calls, holding the last attempt's outcome unless an earlier one was `made` or `unknown`. */
1924
- declare function extractReservationReceipts(toolCallEvents?: LlmapiToolCallEvent[]): ReservationReceipt[];
1925
-
1926
1897
  /**
1927
1898
  * PII detection patterns for structured data types.
1928
1899
  *
@@ -2398,6 +2369,140 @@ type ToolCallArgumentsDeltaEvent = {
2398
2369
  };
2399
2370
  type ToolExecutionErrorType = "parse" | "timeout" | "execution" | "cancelled";
2400
2371
 
2372
+ /**
2373
+ * Error thrown when an upstream provider emits an in-stream error event.
2374
+ * Carries the provider's code (e.g. `"timeout"`) so callers can match
2375
+ * programmatically via `err instanceof ProviderStreamError && err.code === "timeout"`
2376
+ * instead of string-matching the message.
2377
+ */
2378
+ declare class ProviderStreamError extends Error {
2379
+ readonly code: string | undefined;
2380
+ constructor(message: string, code?: string);
2381
+ }
2382
+
2383
+ /** A tool result from an auto-executed tool. */
2384
+ type AutoExecutedToolResult = {
2385
+ name: string;
2386
+ result: unknown;
2387
+ };
2388
+ /** Information emitted after each tool execution round completes. */
2389
+ type StepFinishEvent = {
2390
+ /** 1-based index of this tool round. */
2391
+ stepIndex: number;
2392
+ /** Text content the model produced in this round (may be empty if the model only called tools). */
2393
+ content: string;
2394
+ /** Tool calls the model made in this round. */
2395
+ toolCalls: Array<{
2396
+ name: string;
2397
+ arguments: string;
2398
+ }>;
2399
+ /** Results from auto-executed tools in this round. */
2400
+ toolResults: Array<{
2401
+ name: string;
2402
+ result: unknown;
2403
+ error?: string;
2404
+ errorType?: ToolExecutionErrorType;
2405
+ }>;
2406
+ /** Token usage for this round, if available. */
2407
+ usage: {
2408
+ inputTokens?: number;
2409
+ outputTokens?: number;
2410
+ };
2411
+ /**
2412
+ * The round's own finish reason, as the provider sent it — `"length"` means
2413
+ * this round hit the output ceiling.
2414
+ *
2415
+ * Per-round, not per-turn: a round can truncate and the loop still recover on
2416
+ * the next one, which is why the loop does not treat it as an error on its
2417
+ * own (see the truncation guard below). Without it a consumer watching steps
2418
+ * cannot tell a round that said everything it meant to from one that was cut
2419
+ * off mid-argument — they differ only in this field (#805).
2420
+ *
2421
+ * Absent when the provider sent no finish reason. Note that no step event
2422
+ * fires for the round that *ends* a turn, so use {@link RunTerminalState} on
2423
+ * the result for the final round.
2424
+ */
2425
+ finishReason?: string;
2426
+ };
2427
+ /** Capability header: tells the portal this client can resume a detached stream. Pinned with zeta-chain/ai-portal#1139. */
2428
+ declare const STREAM_RESUMABLE_HEADER = "X-Stream-Resumable";
2429
+ /** Response header carrying the per-request stream id, issued by the portal pre-stream. */
2430
+ declare const INFERENCE_ID_HEADER = "X-Inference-ID";
2431
+ /**
2432
+ * Everything resumeStream() needs to replay a detached stream.
2433
+ * @public
2434
+ */
2435
+ type StreamResumeHandle = {
2436
+ inferenceId: string;
2437
+ /** The RESOLVED api type (never "auto") — resolveApiType() already ran inside runToolLoop. */
2438
+ apiType: Exclude<ApiType, "auto">;
2439
+ model?: string;
2440
+ conversationId?: string;
2441
+ };
2442
+ /**
2443
+ * Payload for RunToolLoopOptions.onStreamMeta.
2444
+ * @public
2445
+ */
2446
+ type StreamMetaEvent = {
2447
+ inferenceId: string;
2448
+ /** 0 = initial request, 1+ = continuation round (same numbering as RequestEvent.round). */
2449
+ round: number;
2450
+ };
2451
+ /** Options passed to a streaming transport function. */
2452
+ type StreamingTransportOptions = {
2453
+ baseUrl: string;
2454
+ endpoint: string;
2455
+ /** @default "POST" */
2456
+ method?: "GET" | "POST";
2457
+ /** Request body. Optional — GET resume requests have no body. */
2458
+ body?: Record<string, unknown>;
2459
+ token?: string;
2460
+ headers?: Record<string, string>;
2461
+ signal?: AbortSignal;
2462
+ onSseError?: (error: unknown) => void;
2463
+ /** Fires once per request when response headers arrive with X-Inference-ID (2xx only). */
2464
+ onStreamMeta?: (meta: {
2465
+ inferenceId: string;
2466
+ }) => void;
2467
+ /**
2468
+ * Fires when the transport receives bytes, including SSE keep-alive comments.
2469
+ * Consumers can use this callback to reset the idle timeout.
2470
+ * The fetch and XHR transports emit it.
2471
+ * Custom transports can omit it if they cannot report byte activity.
2472
+ */
2473
+ onActivity?: () => void;
2474
+ };
2475
+ /** Result returned by a streaming transport function. */
2476
+ type StreamingTransportResult = {
2477
+ stream: AsyncIterable<unknown>;
2478
+ };
2479
+ /**
2480
+ * A pluggable transport function for streaming SSE requests.
2481
+ * The default uses `fetch` + `ReadableStream`. React Native environments
2482
+ * can supply an XHR-based transport instead.
2483
+ *
2484
+ * ### Abort contract
2485
+ *
2486
+ * When `options.signal` aborts **mid-stream**, the returned async iterable
2487
+ * MUST surface an `AbortError` (an `Error` whose `name === "AbortError"`)
2488
+ * to its consumer — either by throwing from the iterator, or by causing
2489
+ * the underlying `read()` to reject. It MUST NOT terminate the iterable
2490
+ * with an orderly `done` in that case.
2491
+ *
2492
+ * `runToolLoop` relies on this to distinguish two scenarios that are
2493
+ * otherwise indistinguishable from outside the transport:
2494
+ * 1. The server closed the connection cleanly and every byte was
2495
+ * delivered → iterable returns `done`, result is success.
2496
+ * 2. The caller aborted the request mid-stream → iterable throws
2497
+ * `AbortError`, result is `{ data: <partial>, error: "Request aborted" }`.
2498
+ *
2499
+ * Transports that swallow mid-stream aborts and yield `done` instead
2500
+ * will cause a partial response to be reported as a successful
2501
+ * completion. The built-in `xhrTransport` and the default fetch-based
2502
+ * transport both honor this contract.
2503
+ */
2504
+ type StreamingTransport = (options: StreamingTransportOptions) => StreamingTransportResult;
2505
+
2401
2506
  /**
2402
2507
  * Tool executor function type
2403
2508
  */
@@ -2683,138 +2788,83 @@ type ApiType = "auto" | "responses" | "completions";
2683
2788
  type ApiResponse = LlmapiResponseResponse | LlmapiChatCompletionResponse;
2684
2789
 
2685
2790
  /**
2686
- * Error thrown when an upstream provider emits an in-stream error event.
2687
- * Carries the provider's code (e.g. `"timeout"`) so callers can match
2688
- * programmatically via `err instanceof ProviderStreamError && err.code === "timeout"`
2689
- * instead of string-matching the message.
2791
+ * A finished background answer, as portal sealed it into the vault inbox.
2792
+ * @public
2690
2793
  */
2691
- declare class ProviderStreamError extends Error {
2692
- readonly code: string | undefined;
2693
- constructor(message: string, code?: string);
2694
- }
2695
-
2696
- /** A tool result from an auto-executed tool. */
2697
- type AutoExecutedToolResult = {
2698
- name: string;
2699
- result: unknown;
2700
- };
2701
- /** Information emitted after each tool execution round completes. */
2702
- type StepFinishEvent = {
2703
- /** 1-based index of this tool round. */
2704
- stepIndex: number;
2705
- /** Text content the model produced in this round (may be empty if the model only called tools). */
2706
- content: string;
2707
- /** Tool calls the model made in this round. */
2708
- toolCalls: Array<{
2709
- name: string;
2710
- arguments: string;
2711
- }>;
2712
- /** Results from auto-executed tools in this round. */
2713
- toolResults: Array<{
2714
- name: string;
2715
- result: unknown;
2716
- error?: string;
2717
- errorType?: ToolExecutionErrorType;
2718
- }>;
2719
- /** Token usage for this round, if available. */
2720
- usage: {
2721
- inputTokens?: number;
2722
- outputTokens?: number;
2723
- };
2724
- /**
2725
- * The round's own finish reason, as the provider sent it — `"length"` means
2726
- * this round hit the output ceiling.
2727
- *
2728
- * Per-round, not per-turn: a round can truncate and the loop still recover on
2729
- * the next one, which is why the loop does not treat it as an error on its
2730
- * own (see the truncation guard below). Without it a consumer watching steps
2731
- * cannot tell a round that said everything it meant to from one that was cut
2732
- * off mid-argument — they differ only in this field (#805).
2733
- *
2734
- * Absent when the provider sent no finish reason. Note that no step event
2735
- * fires for the round that *ends* a turn, so use {@link RunTerminalState} on
2736
- * the result for the final round.
2737
- */
2738
- finishReason?: string;
2794
+ type InboxPlaintext = {
2795
+ v: 1;
2796
+ inference_id: string;
2797
+ conversation_id: string;
2798
+ parent_message_id: string | null;
2799
+ assistant_message_id?: string | null;
2800
+ api_type: "responses" | "completions";
2801
+ model: string;
2802
+ status: "completed" | "tool_request";
2803
+ pending_tool: string | null;
2804
+ response: ApiResponse;
2805
+ finished_at: string;
2739
2806
  };
2740
- /** Capability header: tells the portal this client can resume a detached stream. Pinned with zeta-chain/ai-portal#1139. */
2741
- declare const STREAM_RESUMABLE_HEADER = "X-Stream-Resumable";
2742
- /** Response header carrying the per-request stream id, issued by the portal pre-stream. */
2743
- declare const INFERENCE_ID_HEADER = "X-Inference-ID";
2744
2807
  /**
2745
- * Everything resumeStream() needs to replay a detached stream.
2808
+ * One sealed item in the vault inbox.
2746
2809
  * @public
2747
2810
  */
2748
- type StreamResumeHandle = {
2749
- inferenceId: string;
2750
- /** The RESOLVED api type (never "auto") — resolveApiType() already ran inside runToolLoop. */
2751
- apiType: Exclude<ApiType, "auto">;
2752
- model?: string;
2753
- conversationId?: string;
2811
+ type InboxItem = {
2812
+ id: string;
2813
+ sealed: string;
2814
+ created_at: string;
2754
2815
  };
2755
2816
  /**
2756
- * Payload for RunToolLoopOptions.onStreamMeta.
2817
+ * The account's vault inbox and the public key portal seals answers to.
2757
2818
  * @public
2758
2819
  */
2759
- type StreamMetaEvent = {
2760
- inferenceId: string;
2761
- /** 0 = initial request, 1+ = continuation round (same numbering as RequestEvent.round). */
2762
- round: number;
2763
- };
2764
- /** Options passed to a streaming transport function. */
2765
- type StreamingTransportOptions = {
2820
+ interface VaultInbox {
2821
+ putPublicKey(publicKey: string): Promise<void>;
2822
+ list(): Promise<InboxItem[]>;
2823
+ remove(id: string): Promise<void>;
2824
+ }
2825
+ /**
2826
+ * The vault inbox client, under the same `/api/private-chats` routes as the chat store.
2827
+ * @public
2828
+ */
2829
+ declare function createVaultInbox(options: {
2766
2830
  baseUrl: string;
2767
- endpoint: string;
2768
- /** @default "POST" */
2769
- method?: "GET" | "POST";
2770
- /** Request body. Optional — GET resume requests have no body. */
2771
- body?: Record<string, unknown>;
2772
- token?: string;
2773
- headers?: Record<string, string>;
2774
- signal?: AbortSignal;
2775
- onSseError?: (error: unknown) => void;
2776
- /** Fires once per request when response headers arrive with X-Inference-ID (2xx only). */
2777
- onStreamMeta?: (meta: {
2778
- inferenceId: string;
2779
- }) => void;
2831
+ getToken: () => Promise<string | null>;
2832
+ fetch?: typeof globalThis.fetch;
2833
+ timeoutMs?: number;
2834
+ }): VaultInbox;
2835
+ /** The 65-byte uncompressed P-256 point, base64url, as vault stores it. */
2836
+ declare function exportInboxPublicKey(publicKey: CryptoKey): Promise<string>;
2837
+ /** Decrypt a sealed inbox item with the account's ECDH key pair. */
2838
+ declare function openInboxItem(item: Pick<InboxItem, "id" | "sealed">, keyPair: CryptoKeyPair): Promise<InboxPlaintext>;
2839
+
2840
+ /**
2841
+ * What became of a restaurant booking or cancellation in one turn, read from
2842
+ * the server's own tool result rather than from the model's reply.
2843
+ */
2844
+ type ReservationReceipt = {
2845
+ kind: "booking" | "cancel";
2780
2846
  /**
2781
- * Fires when the transport receives bytes, including SSE keep-alive comments.
2782
- * Consumers can use this callback to reset the idle timeout.
2783
- * The fetch and XHR transports emit it.
2784
- * Custom transports can omit it if they cannot report byte activity.
2847
+ * `made`: the provider confirmed it. `not_made`: it did not happen.
2848
+ * `already_done`: an earlier call in the conversation had already done it.
2849
+ * `unknown`: the call reached the provider and its outcome is not known.
2785
2850
  */
2786
- onActivity?: () => void;
2787
- };
2788
- /** Result returned by a streaming transport function. */
2789
- type StreamingTransportResult = {
2790
- stream: AsyncIterable<unknown>;
2851
+ status: "made" | "not_made" | "already_done" | "unknown";
2852
+ venueName: string;
2853
+ /** As the call sent it, e.g. `2026-10-23`. */
2854
+ day: string;
2855
+ /** As the call sent it, e.g. `9:00 PM`. */
2856
+ time: string;
2857
+ partySize?: number;
2858
+ reservationId?: string;
2859
+ /** Resy page where the user can see the reservation. */
2860
+ resyUrl?: string;
2861
+ /** The restaurant's own cancellation terms, when the booking result carries them. */
2862
+ feeSummary?: string;
2863
+ /** The provider's stated reason, when it did not happen. */
2864
+ reason?: string;
2791
2865
  };
2792
- /**
2793
- * A pluggable transport function for streaming SSE requests.
2794
- * The default uses `fetch` + `ReadableStream`. React Native environments
2795
- * can supply an XHR-based transport instead.
2796
- *
2797
- * ### Abort contract
2798
- *
2799
- * When `options.signal` aborts **mid-stream**, the returned async iterable
2800
- * MUST surface an `AbortError` (an `Error` whose `name === "AbortError"`)
2801
- * to its consumer — either by throwing from the iterator, or by causing
2802
- * the underlying `read()` to reject. It MUST NOT terminate the iterable
2803
- * with an orderly `done` in that case.
2804
- *
2805
- * `runToolLoop` relies on this to distinguish two scenarios that are
2806
- * otherwise indistinguishable from outside the transport:
2807
- * 1. The server closed the connection cleanly and every byte was
2808
- * delivered → iterable returns `done`, result is success.
2809
- * 2. The caller aborted the request mid-stream → iterable throws
2810
- * `AbortError`, result is `{ data: <partial>, error: "Request aborted" }`.
2811
- *
2812
- * Transports that swallow mid-stream aborts and yield `done` instead
2813
- * will cause a partial response to be reported as a successful
2814
- * completion. The built-in `xhrTransport` and the default fetch-based
2815
- * transport both honor this contract.
2816
- */
2817
- type StreamingTransport = (options: StreamingTransportOptions) => StreamingTransportResult;
2866
+ /** One receipt per kind for the turn's booking and cancel calls, holding the last attempt's outcome unless an earlier one was `made` or `unknown`. */
2867
+ declare function extractReservationReceipts(toolCallEvents?: LlmapiToolCallEvent[]): ReservationReceipt[];
2818
2868
 
2819
2869
  /**
2820
2870
  * Build the replay path for a detached stream. The portal serves the buffered
@@ -2834,6 +2884,26 @@ declare function streamReplayPath(inferenceId: string): string;
2834
2884
  * Exported so client repos can mock the endpoint in E2E without string drift.
2835
2885
  */
2836
2886
  declare function streamCancelPath(inferenceId: string): string;
2887
+ /**
2888
+ * A generation still running on the portal for the caller.
2889
+ * @public
2890
+ */
2891
+ type ActiveStream = {
2892
+ inferenceId: string;
2893
+ assistantMessageId: string | null;
2894
+ conversationId: string | null;
2895
+ parentMessageId: string | null;
2896
+ apiType: "responses" | "completions";
2897
+ model?: string;
2898
+ startedAt: string;
2899
+ };
2900
+ /** List the caller's generations still running on the portal. */
2901
+ declare function listActiveStreams(options: {
2902
+ token: string;
2903
+ baseUrl?: string;
2904
+ conversationId?: string;
2905
+ fetch?: typeof globalThis.fetch;
2906
+ }): Promise<ActiveStream[]>;
2837
2907
  /**
2838
2908
  * Thrown when the portal answers `410 Gone` to a replay GET: the buffered
2839
2909
  * stream is gone — expired (10-min sliding TTL), absent, not owned by the
@@ -14670,8 +14740,10 @@ type StreamMeta = StreamResumeHandle & {
14670
14740
  };
14671
14741
  type UseChatResult = BaseUseChatResult & {
14672
14742
  sendMessage: (args: SendMessageArgs) => Promise<SendMessageResult>;
14743
+ /** The caller's generations still running on the portal, optionally for one conversation. */
14744
+ getActiveStreams: (conversationId?: string) => Promise<ActiveStream[]>;
14673
14745
  /** Replay a resumable stream from the portal buffer, from its first frame. */
14674
- resumeStream: (handle: StreamResumeHandle, opts?: Pick<ResumeStreamOptions, "idleTimeoutMs" | "smoothing"> & {
14746
+ resumeStream: (handle: StreamResumeHandle, opts?: Pick<ResumeStreamOptions, "idleTimeoutMs" | "smoothing" | "piiRedactor"> & {
14675
14747
  headless?: boolean;
14676
14748
  }) => Promise<ResumeStreamResult>;
14677
14749
  };
@@ -14789,11 +14861,15 @@ declare function previewToolSelection(options: {
14789
14861
  interface UseChatStorageOptions extends BaseUseChatStorageOptions {
14790
14862
  /** Opt into the portal stream buffer for every generated round. */
14791
14863
  resumable?: boolean;
14792
- /** Inference identifier for each HTTP round, including client-tool continuations. */
14793
- onStreamMeta?: (meta: {
14794
- inferenceId: string;
14795
- round: number;
14796
- }) => void;
14864
+ /**
14865
+ * Keep a resumable generation running when the request fails or the hook unmounts.
14866
+ * Portal stores the answer of a turn that finishes with no client attached.
14867
+ */
14868
+ background?: boolean;
14869
+ /** The vault inbox that receives answers finished while no client was attached. */
14870
+ inbox?: VaultInbox;
14871
+ /** Stream handle for each HTTP round, including client-tool continuations. */
14872
+ onStreamMeta?: (meta: StreamMeta) => void;
14797
14873
  /**
14798
14874
  * Which API endpoint to use. Default: "responses"
14799
14875
  * - "responses": OpenAI Responses API (supports thinking, reasoning, conversations)
@@ -14966,6 +15042,25 @@ type SendMessageWithStorageResult = {
14966
15042
  error: string;
14967
15043
  userMessage?: StoredMessage;
14968
15044
  assistantMessage?: undefined;
15045
+ } | {
15046
+ data: null;
15047
+ error: "Request detached";
15048
+ detached: true;
15049
+ /** The generation keeps running; watch it with `watchStream`. */
15050
+ resume: StreamResumeHandle;
15051
+ userMessage: StoredMessage;
15052
+ assistantMessage?: undefined;
15053
+ };
15054
+ /**
15055
+ * Outcome of delivering one vault inbox item with `deliverInbox`.
15056
+ * @public
15057
+ */
15058
+ type InboxDeliveryResult = {
15059
+ id: string;
15060
+ conversationId: string | null;
15061
+ status: "stored" | "delivered" | "elsewhere" | "unreadable" | "retry";
15062
+ assistantMessage: StoredMessage | null;
15063
+ error?: string;
14969
15064
  };
14970
15065
  /**
14971
15066
  * Options for searching messages
@@ -15150,6 +15245,12 @@ interface UseChatStorageResult extends BaseUseChatStorageResult {
15150
15245
  * Current status of the write queue.
15151
15246
  */
15152
15247
  queueStatus: QueueStatus;
15248
+ /** The caller's generations still running on the portal, optionally for one conversation. */
15249
+ getActiveStreams: (conversationId?: string) => Promise<ActiveStream[]>;
15250
+ /** Show a running generation from its first frame; nothing is stored. */
15251
+ watchStream: (stream: ActiveStream) => Promise<ResumeStreamResult>;
15252
+ /** Register the inbox public key, then store and remove every answer portal sealed into the inbox. */
15253
+ deliverInbox: () => Promise<InboxDeliveryResult[]>;
15153
15254
  }
15154
15255
  /**
15155
15256
  * A React hook that wraps useChat and persists messages and conversations to WatermelonDB as they are sent and received.
@@ -16345,4 +16446,4 @@ type UseWalletBindingResult = {
16345
16446
  */
16346
16447
  declare function useWalletBinding(options?: UseWalletBindingOptions): UseWalletBindingResult;
16347
16448
 
16348
- export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, type ChatAccount, type ChatAccountState, type ChatAttachment, type ChatAttachments, type ChatBackend, type ChatBackendFactory, type ChatBackendSigner, type ChatCacheStorage, type ChatChanges, type ChatChunkSearchOptions, Conversation as ChatConversation, type ChatImport, type ChatJson, type ChatListOptions, Message as ChatMessage, type ChatMigrationOptions, type ChatMigrationProgress, type ChatMigrationResult, type ChatMigrationSkip, type ChatOutboxLocks, type ChatOutboxStorage, type ChatPage, type ChatPresignedUrl, type ChatRecord, type ChatRecordKind, type ChatRef, type ChatRevision, type ChatRole, type ChatSearchHit, type ChatSearchOptions, type ChatSnapshot, type ChatStorageAdapter, type ChatStorageObservable, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchResult, type ChunkSearchStats, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateSelectPaymentWalletToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CreateWalletPaymentToolOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EmbeddingRepairOptions, type EmbeddingRepairResult, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LocalMemoryStoreOptions, type LocalMessageAttachment, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, MEMORY_KINDS, MEMORY_LEVELS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type MemoryCounts, type MemoryCreate, type MemoryDecay, type MemoryDecaySweeperOptions, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, MemoryKeyError, type MemoryKeyRing, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryMigrationOptions, type MemoryMigrationProgress, type MemoryMigrationResult, type MemoryMigrationSkip, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryTopic, type MemoryTopicBacklog, type MemoryTopicMaintenance, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageAttachmentMigrationOptions, type MessageAttachmentMigrationResult, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PaymentWallet, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RemoteChatStoreOptions, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryMetadataPage, type RemoteMemoryMetadataRecord, type RemoteMemoryPage, RemoteMemoryPartialCreateError, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryQueryOptions, type RemoteMemoryQueryPage, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RemoteMemoryStoreOptions, type RemoteMemoryTopic, type RemoteMemoryWorkKind, type RemoteMemoryWorkLease, type RemoteMemoryWorkPersistence, type RemoteTopicPersistence, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectPaymentWalletResult, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type Setting, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TOPIC_SALIENCE_WEIGHTS, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultCandidateKey, type VaultChatActivity, type VaultChatBackend, type VaultChatBackendOptions, type VaultChatEvent, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryProjection, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, type WriteFailureReason, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearConversationMemoriesOp, clearEncryptionKey, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearModelsCache, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createSelectPaymentWalletTool, createServerToolsFilter, createStockPricePreProcessor, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, decryptMessageEmbeddingFields, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, encryptToolCallEventsOp, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, extractMCPImageUrls, extractReservationReceipts, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getEntitiesByMemoryIdsOp, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, loadSettings, localChatBackend, maskScopedEmbeddingCache, maxVaultAttachmentBytes, mediaToStored, memoryCipher, migrateChatsToRemote, migrateDisplayResult, migrateMemoriesToRemote, migrateMessageAttachments, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeNotionAccess, saveSetting, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startNotionAuth, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useEncryption, useExportPdf, useFiles, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
16449
+ export { type ActiveStream, Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, type ChatAccount, type ChatAccountState, type ChatAttachment, type ChatAttachments, type ChatBackend, type ChatBackendFactory, type ChatBackendSigner, type ChatCacheStorage, type ChatChanges, type ChatChunkSearchOptions, Conversation as ChatConversation, type ChatImport, type ChatJson, type ChatListOptions, Message as ChatMessage, type ChatMigrationOptions, type ChatMigrationProgress, type ChatMigrationResult, type ChatMigrationSkip, type ChatOutboxLocks, type ChatOutboxStorage, type ChatPage, type ChatPresignedUrl, type ChatRecord, type ChatRecordKind, type ChatRef, type ChatRevision, type ChatRole, type ChatSearchHit, type ChatSearchOptions, type ChatSnapshot, type ChatStorageAdapter, type ChatStorageObservable, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchResult, type ChunkSearchStats, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateSelectPaymentWalletToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CreateWalletPaymentToolOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EmbeddingRepairOptions, type EmbeddingRepairResult, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InboxDeliveryResult, type InboxItem, type InboxPlaintext, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LocalMemoryStoreOptions, type LocalMessageAttachment, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, MEMORY_KINDS, MEMORY_LEVELS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type MemoryCounts, type MemoryCreate, type MemoryDecay, type MemoryDecaySweeperOptions, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, MemoryKeyError, type MemoryKeyRing, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryMigrationOptions, type MemoryMigrationProgress, type MemoryMigrationResult, type MemoryMigrationSkip, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryTopic, type MemoryTopicBacklog, type MemoryTopicMaintenance, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageAttachmentMigrationOptions, type MessageAttachmentMigrationResult, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PaymentWallet, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RemoteChatStoreOptions, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryMetadataPage, type RemoteMemoryMetadataRecord, type RemoteMemoryPage, RemoteMemoryPartialCreateError, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryQueryOptions, type RemoteMemoryQueryPage, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RemoteMemoryStoreOptions, type RemoteMemoryTopic, type RemoteMemoryWorkKind, type RemoteMemoryWorkLease, type RemoteMemoryWorkPersistence, type RemoteTopicPersistence, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectPaymentWalletResult, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type Setting, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMeta, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TOPIC_SALIENCE_WEIGHTS, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultCandidateKey, type VaultChatActivity, type VaultChatBackend, type VaultChatBackendOptions, type VaultChatEvent, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultInbox, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryProjection, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, type WriteFailureReason, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearConversationMemoriesOp, clearEncryptionKey, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearModelsCache, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createSelectPaymentWalletTool, createServerToolsFilter, createStockPricePreProcessor, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultInbox, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, decryptMessageEmbeddingFields, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, encryptToolCallEventsOp, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportInboxPublicKey, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, extractMCPImageUrls, extractReservationReceipts, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getEntitiesByMemoryIdsOp, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, listActiveStreams, loadSettings, localChatBackend, maskScopedEmbeddingCache, maxVaultAttachmentBytes, mediaToStored, memoryCipher, migrateChatsToRemote, migrateDisplayResult, migrateMemoriesToRemote, migrateMessageAttachments, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, openInboxItem, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeNotionAccess, saveSetting, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startNotionAuth, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useEncryption, useExportPdf, useFiles, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };