import { BamlRuntime } from "./native.js"; export { BamlAudio, BamlHandle, BamlImage, BamlPdf, BamlRuntime, BamlVideo, _seedMediaHandle, getBridgeRuntimeVersion, getRuntime, getToolchainVersion, getVersion, newFunctionCall, shutdownRuntime } from "./native.js"; export { BamlStream } from "./shared/stream.js"; export { BamlFunctionSpec } from "./shared/function_spec.js"; export type { BamlFunctionSpecBuildRequestOptions, BamlFunctionSpecCallOptions } from "./shared/function_spec.js"; export { BamlTypeMap, getTypeMap, setTypeMap } from "./shared/typemap.js"; export { defineFunction, defineInstanceFunction, UNSET } from "./shared/define_function.js"; export type { GenericParams } from "./shared/define_function.js"; export { Never, lowerTypeToWireTy } from "./shared/wire_ty.js"; export { BamlType, reflectType } from "./shared/wire_ty.js"; export type { BamlClassCtor, BamlInterfaceToken, BamlPrimitiveToken, BamlTypeMetadata, BamlTypeToken } from "./shared/wire_ty.js"; export { BamlAbortError, BamlCancelledError, BamlClientError, BamlError, BamlInvalidArgumentError, BamlPanic, wrapNativeError } from "./shared/errors.js"; export { BamlPrompt, BamlReference, decodeCallResult, encodeCallArgs } from "./shared/proto.js"; export type { BamlPromptCallOptions, BamlPromptMessage } from "./shared/proto.js"; export declare function initializeRuntimeFromBlob(bytecode: string | Uint8Array, embeddedBamlToml?: string): void; export declare function initializeRuntime(srcDir: string, files: Record): void; export declare class FunctionResult { private readonly value; constructor(value: unknown); result(): unknown; toString(): string; } export declare function callFunctionSync(rt: BamlRuntime, functionName: string, kwargs: Record, baml?: InvocationOptions | null): FunctionResult; export declare function callFunction(rt: BamlRuntime, functionName: string, kwargs: Record, baml?: InvocationOptions | null): Promise; export declare function cancelFunctionCall(callId: bigint): boolean; export { current as _currentExecutionContext, ExecutionContext as _ExecutionContext, currentContext as _currentTraceContext, currentContextAsync as _currentTraceContextAsync, currentCancelToken as _currentCancelToken, withExecutionContext as _withExecutionContext } from './shared/execution_context.js'; export { invoke as _invoke, invokeSync as _invokeSync } from './shared/invocation.js'; export { instrument as _instrument, TraceUsageError, registerCapture, captureFor } from './instrumentation.js'; import type { InvocationOptions } from './shared/invocation.js'; //# sourceMappingURL=index.d.ts.map