UNPKG

@0xplaygrounds/rig-wasm

Version:

A TS and WebAssembly-based port of the Rust agentic AI framework Rig.

296 lines (295 loc) 23.4 kB
/* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; export const __wbg_deepseekagent_free: (a: number, b: number) => void; export const deepseekagent_new: (a: any) => [number, number, number]; export const deepseekagent_prompt: (a: number, b: number, c: number) => any; export const deepseekagent_prompt_stream: (a: number, b: number, c: number) => any; export const deepseekagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const deepseekagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_deepseekcompletionsmodel_free: (a: number, b: number) => void; export const deepseekcompletionsmodel_new: (a: any) => [number, number, number]; export const deepseekcompletionsmodel_completion: (a: number, b: any) => any; export const __wbg_miraagent_free: (a: number, b: number) => void; export const miraagent_new: (a: any) => [number, number, number]; export const miraagent_prompt: (a: number, b: number, c: number) => any; export const miraagent_prompt_stream: (a: number, b: number, c: number) => any; export const miraagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const miraagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_miracompletionsmodel_free: (a: number, b: number) => void; export const miracompletionsmodel_new: (a: any) => [number, number, number]; export const miracompletionsmodel_completion: (a: number, b: any) => any; export const perplexityagent_new: (a: any) => [number, number, number]; export const perplexityagent_prompt: (a: number, b: number, c: number) => any; export const perplexityagent_prompt_stream: (a: number, b: number, c: number) => any; export const perplexityagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const perplexityagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const perplexitycompletionsmodel_new: (a: any) => [number, number, number]; export const perplexitycompletionsmodel_completion: (a: number, b: any) => any; export const __wbg_huggingfaceagent_free: (a: number, b: number) => void; export const huggingfaceagent_new: (a: any) => [number, number, number]; export const huggingfaceagent_prompt: (a: number, b: number, c: number) => any; export const huggingfaceagent_prompt_stream: (a: number, b: number, c: number) => any; export const huggingfaceagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const huggingfaceagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_huggingfacecompletionsmodel_free: (a: number, b: number) => void; export const huggingfacecompletionsmodel_new: (a: any) => [number, number, number]; export const huggingfacecompletionsmodel_completion: (a: number, b: any) => any; export const huggingfaceimagegenerationmodel_new: (a: any) => [number, number, number]; export const huggingfaceimagegenerationmodel_image_generation: (a: number, b: any) => any; export const __wbg_huggingfaceimagegenerationresponse_free: (a: number, b: number) => void; export const huggingfaceimagegenerationresponse_image_bytes: (a: number) => any; export const huggingfacetranscriptionmodel_transcription: (a: number, b: any) => any; export const huggingfacetranscriptionresponse_text: (a: number) => [number, number]; export const __wbg_voyageaiembeddingmodel_free: (a: number, b: number) => void; export const voyageaiembeddingmodel_new: (a: any) => [number, number, number]; export const voyageaiembeddingmodel_embedText: (a: number, b: number, c: number) => any; export const voyageaiembeddingmodel_embedTexts: (a: number, b: any) => any; export const __wbg_geminiagent_free: (a: number, b: number) => void; export const geminiagent_new: (a: any) => [number, number, number]; export const geminiagent_prompt: (a: number, b: number, c: number) => any; export const geminiagent_prompt_stream: (a: number, b: number, c: number) => any; export const geminiagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const geminiagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_geminicompletionmodel_free: (a: number, b: number) => void; export const geminicompletionmodel_new: (a: any) => [number, number, number]; export const geminicompletionmodel_completion: (a: number, b: any) => any; export const __wbg_geminiembeddingmodel_free: (a: number, b: number) => void; export const geminiembeddingmodel_new: (a: any) => [number, number, number]; export const geminiembeddingmodel_embedText: (a: number, b: number, c: number) => any; export const geminiembeddingmodel_embedTexts: (a: number, b: any) => any; export const geminitranscriptionmodel_new: (a: any) => [number, number, number]; export const geminitranscriptionmodel_transcription: (a: number, b: any) => any; export const __wbg_geminitranscriptionresponse_free: (a: number, b: number) => void; export const geminitranscriptionresponse_text: (a: number) => [number, number]; export const openaiagent_new: (a: any) => [number, number, number]; export const openaiagent_prompt: (a: number, b: number, c: number) => any; export const openaiagent_prompt_stream: (a: number, b: number, c: number) => any; export const openaiagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const openaiagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const openairesponsescompletionmodel_new: (a: any) => [number, number, number]; export const openairesponsescompletionmodel_completion: (a: number, b: any) => any; export const openaicompletionscompletionmodel_new: (a: any) => [number, number, number]; export const openaicompletionscompletionmodel_completion: (a: number, b: any) => any; export const openaiembeddingmodel_new: (a: any) => [number, number, number]; export const openaiembeddingmodel_embedText: (a: number, b: number, c: number) => any; export const openaiembeddingmodel_embedTexts: (a: number, b: any) => any; export const openaitranscriptionmodel_transcription: (a: number, b: any) => any; export const __wbg_openaitranscriptionresponse_free: (a: number, b: number) => void; export const openaitranscriptionresponse_text: (a: number) => [number, number]; export const openaiimagegenerationmodel_image_generation: (a: number, b: any) => any; export const __wbg_openaiimagegenerationresponse_free: (a: number, b: number) => void; export const openaiimagegenerationresponse_image_bytes: (a: number) => any; export const openaiaudiogenerationmodel_new: (a: any) => [number, number, number]; export const openaiaudiogenerationmodel_audio_generation: (a: number, b: any) => any; export const __wbg_openaiaudiogenerationresponse_free: (a: number, b: number) => void; export const openaiaudiogenerationresponse_bytes: (a: number) => any; export const openrouteragent_new: (a: any) => [number, number, number]; export const openrouteragent_prompt: (a: number, b: number, c: number) => any; export const openrouteragent_prompt_stream: (a: number, b: number, c: number) => any; export const openrouteragent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const openrouteragent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const openroutercompletionsmodel_new: (a: any) => [number, number, number]; export const openroutercompletionsmodel_completion: (a: number, b: any) => any; export const __wbg_togetheragent_free: (a: number, b: number) => void; export const togetheragent_new: (a: any) => [number, number, number]; export const togetheragent_prompt: (a: number, b: number, c: number) => any; export const togetheragent_prompt_stream: (a: number, b: number, c: number) => any; export const togetheragent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const togetheragent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_togethercompletionsmodel_free: (a: number, b: number) => void; export const togethercompletionsmodel_new: (a: any) => [number, number, number]; export const togethercompletionsmodel_completion: (a: number, b: any) => any; export const togetherembeddingmodel_new: (a: any) => [number, number, number]; export const togetherembeddingmodel_embedText: (a: number, b: number, c: number) => any; export const togetherembeddingmodel_embedTexts: (a: number, b: any) => any; export const __wbg_xaiagent_free: (a: number, b: number) => void; export const xaiagent_new: (a: any) => [number, number, number]; export const xaiagent_prompt: (a: number, b: number, c: number) => any; export const xaiagent_prompt_stream: (a: number, b: number, c: number) => any; export const xaiagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const xaiagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_xaicompletionsmodel_free: (a: number, b: number) => void; export const xaicompletionsmodel_new: (a: any) => [number, number, number]; export const xaicompletionsmodel_completion: (a: number, b: any) => any; export const __wbg_message_free: (a: number, b: number) => void; export const __wbg_document_free: (a: number, b: number) => void; export const document_new: (a: number, b: number, c: number, d: number) => number; export const document_setAdditionalProps: (a: number, b: any) => [number, number, number]; export const __wbg_tooldefinition_free: (a: number, b: number) => void; export const tooldefinition_new: (a: any) => [number, number, number]; export const __wbg_assistantcontent_free: (a: number, b: number) => void; export const assistantcontent_text: (a: number, b: number) => number; export const assistantcontent_tool_call: (a: number, b: number, c: number) => number; export const assistantcontent_tool_call_with_call_id: (a: number, b: number, c: number, d: number, e: number) => number; export const __wbg_toolfunction_free: (a: number, b: number) => void; export const toolfunction_name: (a: number) => [number, number]; export const toolfunction_args: (a: number) => [number, number, number]; export const __wbg_completionrequest_free: (a: number, b: number) => void; export const completionrequest_new: (a: any) => [number, number, number]; export const __wbg_groqagent_free: (a: number, b: number) => void; export const groqagent_new: (a: any) => [number, number, number]; export const groqagent_prompt: (a: number, b: number, c: number) => any; export const groqagent_prompt_stream: (a: number, b: number, c: number) => any; export const groqagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const groqagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const groqcompletionscompletionmodel_new: (a: any) => [number, number, number]; export const groqcompletionscompletionmodel_completion: (a: number, b: any) => any; export const groqtranscriptionmodel_new: (a: any) => [number, number, number]; export const groqtranscriptionmodel_transcription: (a: number, b: any) => any; export const __wbg_groqtranscriptionresponse_free: (a: number, b: number) => void; export const groqtranscriptionresponse_text: (a: number) => [number, number]; export const __wbg_ollamaagent_free: (a: number, b: number) => void; export const ollamaagent_new: (a: any) => [number, number, number]; export const ollamaagent_prompt: (a: number, b: number, c: number) => any; export const ollamaagent_prompt_stream: (a: number, b: number, c: number) => any; export const ollamaagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const ollamaagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_ollamacompletionsmodel_free: (a: number, b: number) => void; export const ollamacompletionsmodel_new: (a: any) => [number, number, number]; export const ollamacompletionsmodel_completion: (a: number, b: any) => any; export const mistralagent_new: (a: any) => [number, number, number]; export const mistralagent_prompt: (a: number, b: number, c: number) => any; export const mistralagent_prompt_stream: (a: number, b: number, c: number) => any; export const mistralagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const mistralagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const mistralcompletionsmodel_new: (a: any) => [number, number, number]; export const mistralcompletionsmodel_completion: (a: number, b: any) => any; export const __wbg_mistralembeddingmodel_free: (a: number, b: number) => void; export const mistralembeddingmodel_new: (a: any) => [number, number, number]; export const mistralembeddingmodel_embedText: (a: number, b: number, c: number) => any; export const mistralembeddingmodel_embedTexts: (a: number, b: any) => any; export const __wbg_embedding_free: (a: number, b: number) => void; export const embedding_new: (a: number, b: number, c: number, d: number) => number; export const embedding_document: (a: number) => [number, number]; export const embedding_set_document: (a: number, b: number, c: number) => void; export const embedding_vec: (a: number) => [number, number]; export const embedding_set_vec: (a: number, b: number, c: number) => void; export const __wbg_imagegenerationrequest_free: (a: number, b: number) => void; export const __wbg_galadrielagent_free: (a: number, b: number) => void; export const galadrielagent_new: (a: any) => [number, number, number]; export const galadrielagent_prompt: (a: number, b: number, c: number) => any; export const galadrielagent_prompt_stream: (a: number, b: number, c: number) => any; export const galadrielagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const galadrielagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_galadrielcompletionsmodel_free: (a: number, b: number) => void; export const galadrielcompletionsmodel_new: (a: any) => [number, number, number]; export const galadrielcompletionsmodel_completion: (a: number, b: any) => any; export const hyperbolicagent_new: (a: any) => [number, number, number]; export const hyperbolicagent_prompt: (a: number, b: number, c: number) => any; export const hyperbolicagent_prompt_stream: (a: number, b: number, c: number) => any; export const hyperbolicagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const hyperbolicagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const hyperboliccompletionsmodel_new: (a: any) => [number, number, number]; export const hyperboliccompletionsmodel_completion: (a: number, b: any) => any; export const hyperbolicimagegenerationmodel_new: (a: any) => [number, number, number]; export const hyperbolicimagegenerationmodel_image_generation: (a: number, b: any) => any; export const __wbg_hyperbolicimagegenerationresponse_free: (a: number, b: number) => void; export const hyperbolicimagegenerationresponse_image_bytes: (a: number) => any; export const hyperbolicaudiogenerationmodel_new: (a: any) => [number, number, number]; export const hyperbolicaudiogenerationmodel_audio_generation: (a: number, b: any) => any; export const __wbg_hyperbolicaudiogenerationresponse_free: (a: number, b: number) => void; export const hyperbolicaudiogenerationresponse_bytes: (a: number) => [number, number, number]; export const __wbg_moonshotagent_free: (a: number, b: number) => void; export const moonshotagent_new: (a: any) => [number, number, number]; export const moonshotagent_prompt: (a: number, b: number, c: number) => any; export const moonshotagent_prompt_stream: (a: number, b: number, c: number) => any; export const moonshotagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const moonshotagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_moonshotcompletionsmodel_free: (a: number, b: number) => void; export const moonshotcompletionsmodel_new: (a: any) => [number, number, number]; export const moonshotcompletionsmodel_completion: (a: number, b: any) => any; export const __wbg_transcriptionrequest_free: (a: number, b: number) => void; export const initPanicHook: () => void; export const __wbg_anthropicagent_free: (a: number, b: number) => void; export const anthropicagent_new: (a: any) => [number, number, number]; export const anthropicagent_prompt: (a: number, b: number, c: number) => any; export const anthropicagent_prompt_stream: (a: number, b: number, c: number) => any; export const anthropicagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const anthropicagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_anthropiccompletionmodel_free: (a: number, b: number) => void; export const anthropiccompletionmodel_new: (a: any) => [number, number, number]; export const anthropiccompletionmodel_completion: (a: number, b: any) => any; export const __wbg_cohereagent_free: (a: number, b: number) => void; export const cohereagent_new: (a: any) => [number, number, number]; export const cohereagent_prompt: (a: number, b: number, c: number) => any; export const cohereagent_prompt_stream: (a: number, b: number, c: number) => any; export const cohereagent_prompt_multi_turn: (a: number, b: number, c: number, d: number) => any; export const cohereagent_chat: (a: number, b: number, c: number, d: number, e: number) => any; export const __wbg_coherecompletionmodel_free: (a: number, b: number) => void; export const coherecompletionmodel_new: (a: any) => [number, number, number]; export const coherecompletionmodel_completion: (a: number, b: any) => any; export const __wbg_cohereembeddingmodel_free: (a: number, b: number) => void; export const cohereembeddingmodel_new: (a: any) => [number, number, number]; export const cohereembeddingmodel_embedText: (a: number, b: number, c: number) => any; export const cohereembeddingmodel_embedTexts: (a: number, b: any) => any; export const __wbg_jstool_free: (a: number, b: number) => void; export const jstool_new: (a: any) => [number, number, number]; export const jsvectorstore_new: (a: any) => [number, number, number]; export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void; export const intounderlyingbytesource_type: (a: number) => number; export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number; export const intounderlyingbytesource_start: (a: number, b: any) => void; export const intounderlyingbytesource_pull: (a: number, b: any) => any; export const intounderlyingbytesource_cancel: (a: number) => void; export const __wbg_intounderlyingsource_free: (a: number, b: number) => void; export const intounderlyingsource_pull: (a: number, b: any) => any; export const intounderlyingsource_cancel: (a: number) => void; export const __wbg_intounderlyingsink_free: (a: number, b: number) => void; export const intounderlyingsink_write: (a: number, b: any) => any; export const intounderlyingsink_close: (a: number) => any; export const intounderlyingsink_abort: (a: number, b: any) => any; export const __wbg_minifyconfig_free: (a: number, b: number) => void; export const __wbg_get_minifyconfig_js: (a: number) => number; export const __wbg_set_minifyconfig_js: (a: number, b: number) => void; export const __wbg_get_minifyconfig_html: (a: number) => number; export const __wbg_set_minifyconfig_html: (a: number, b: number) => void; export const __wbg_get_minifyconfig_css: (a: number) => number; export const __wbg_set_minifyconfig_css: (a: number, b: number) => void; export const __wbg_r2range_free: (a: number, b: number) => void; export const __wbg_get_r2range_offset: (a: number) => [number, number]; export const __wbg_set_r2range_offset: (a: number, b: number, c: number) => void; export const __wbg_get_r2range_length: (a: number) => [number, number]; export const __wbg_set_r2range_length: (a: number, b: number, c: number) => void; export const __wbg_get_r2range_suffix: (a: number) => [number, number]; export const __wbg_set_r2range_suffix: (a: number, b: number, c: number) => void; export const __wbg_perplexitycompletionsmodel_free: (a: number, b: number) => void; export const __wbg_jsvectorstore_free: (a: number, b: number) => void; export const huggingfacetranscriptionmodel_new: (a: any) => [number, number, number]; export const __wbg_openaiagent_free: (a: number, b: number) => void; export const __wbg_mistralagent_free: (a: number, b: number) => void; export const __wbg_hyperbolicagent_free: (a: number, b: number) => void; export const __wbg_openrouteragent_free: (a: number, b: number) => void; export const __wbg_huggingfacetranscriptionresponse_free: (a: number, b: number) => void; export const openaitranscriptionmodel_new: (a: any) => [number, number, number]; export const openaiimagegenerationmodel_new: (a: any) => [number, number, number]; export const __wbg_geminitranscriptionmodel_free: (a: number, b: number) => void; export const __wbg_openairesponsescompletionmodel_free: (a: number, b: number) => void; export const __wbg_openaitranscriptionmodel_free: (a: number, b: number) => void; export const __wbg_openaiimagegenerationmodel_free: (a: number, b: number) => void; export const __wbg_openaicompletionscompletionmodel_free: (a: number, b: number) => void; export const __wbg_togetherembeddingmodel_free: (a: number, b: number) => void; export const __wbg_openaiaudiogenerationmodel_free: (a: number, b: number) => void; export const __wbg_groqtranscriptionmodel_free: (a: number, b: number) => void; export const __wbg_mistralcompletionsmodel_free: (a: number, b: number) => void; export const __wbg_openaiembeddingmodel_free: (a: number, b: number) => void; export const __wbg_hyperboliccompletionsmodel_free: (a: number, b: number) => void; export const __wbg_hyperbolicimagegenerationmodel_free: (a: number, b: number) => void; export const __wbg_hyperbolicaudiogenerationmodel_free: (a: number, b: number) => void; export const __wbg_openroutercompletionsmodel_free: (a: number, b: number) => void; export const __wbg_groqcompletionscompletionmodel_free: (a: number, b: number) => void; export const __wbg_huggingfaceimagegenerationmodel_free: (a: number, b: number) => void; export const __wbg_huggingfacetranscriptionmodel_free: (a: number, b: number) => void; export const __wbg_perplexityagent_free: (a: number, b: number) => void; export const __wbindgen_malloc: (a: number, b: number) => number; export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; export const __wbindgen_exn_store: (a: number) => void; export const __externref_table_alloc: () => number; export const __wbindgen_export_4: WebAssembly.Table; export const __wbindgen_free: (a: number, b: number, c: number) => void; export const __wbindgen_export_6: WebAssembly.Table; export const __externref_table_dealloc: (a: number) => void; export const closure111_externref_shim: (a: number, b: number, c: any) => void; export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h840edcdc529e167f: (a: number, b: number) => void; export const closure52_externref_shim: (a: number, b: number, c: any, d: any) => void; export const __wbindgen_start: () => void;