/** * hazo_llm_api Server-Side Exports * * This file exports server-side only functions for LLM API operations. * These should ONLY be imported in server components, API routes, or server actions. * * Usage: import { initialize_llm_api, hazo_llm_text_text } from 'hazo_llm_api/server' * * Available functions: * - hazo_llm_text_text: Text input → Text output * - hazo_llm_image_text: Image input → Text output * - hazo_llm_text_image: Text input → Image output * - hazo_llm_image_image: Image input → Image output * - hazo_llm_document_text: Document input → Text output (PDF analysis) * - hazo_llm_text_image_text: Text → Image → Text (chained) * - hazo_llm_prompt_chain: Chain multiple prompts with dynamic value resolution * - hazo_llm_dynamic_data_extract: Dynamic chain where next prompt is determined by JSON output */ export { initialize_llm_api, hazo_llm_text_text, hazo_llm_image_text, hazo_llm_text_image, hazo_llm_image_image, hazo_llm_document_text, hazo_llm_text_image_text, hazo_llm_image_image_text, hazo_llm_prompt_chain, hazo_llm_dynamic_data_extract, hazo_llm_text_text_stream, hazo_llm_image_text_stream, hazo_llm_embed, is_initialized, get_current_config, get_hazo_connect, default_logger, get_logger, set_logger, get_hooks, set_hooks, get_cascade_config, } from './lib/llm_api/index.js'; export { configure_embed_cache } from './lib/llm_api/embed_cache.js'; export type { CascadeConfig } from './lib/cascade/types.js'; export { DEFAULT_CASCADE_ON_CODES } from './lib/cascade/types.js'; export { initialize_database, get_database, close_database, get_default_sqlite_path, expand_path, resolve_sqlite_path, insert_prompt, update_prompt, delete_prompt, } from './lib/database/index.js'; export { create_direct_db_connect } from './lib/hazo_connect/index.js'; export type { HazoConnect, HazoConnectResponse, HazoConnectBulkResponse, PromptInput, LocalFilters, DirectDbConnectOptions, } from './lib/hazo_connect/index.js'; export { get_prompt_by_area_and_key, get_prompt_by_area_key_and_locals, get_prompt_text, get_prompts_by_area, get_prompt_by_id, get_all_prompts, substitute_variables, parse_prompt_variables, validate_variables, type LocalFilterOptions, } from './lib/prompts/index.js'; export { clear_prompt_cache, invalidate_prompt_cache, invalidate_prompt_cache_by_id, get_prompt_cache, configure_prompt_cache, } from './lib/prompts/prompt_cache.js'; export { call_gemini_api, get_gemini_api_url, } from './lib/providers/index.js'; export { LLM_PROVIDERS, SERVICE_TYPES } from './lib/providers/types.js'; export type { ProviderName, ServiceType } from './lib/providers/types.js'; export { LLM_ERROR_CODES } from './lib/llm_api/types.js'; export { build_error_response } from './lib/llm_api/provider_helper.js'; export type { LLMErrorCode, LLMError } from './lib/llm_api/types.js'; export type { LLMApiConfig, LLMApiClient, LLMResponse, TextTextParams, ImageTextParams, TextImageParams, ImageImageParams, DocumentTextParams, TextImageTextParams, ImageImageTextParams, ChainImage, Logger, PromptVariable, PromptVariables, Base64Data, PromptTextMode, PromptRecord, CallLLMParams, LLMHooks, LLMRequestContext, LLMResponseContext, LLMErrorContext, BeforeRequestHook, AfterResponseHook, OnErrorHook, LLMStreamChunk, LLMStreamResponse, EmbedParams, EmbedResponse, EmbedKeyv, PromptPart, ChainMatchType, ChainFieldDefinition, ChainVariableDefinition, ChainCallDefinition, ChainCallResult, PromptChainParams, PromptChainResponse, DynamicDataExtractParams, DynamicDataExtractResponse, DynamicExtractStepResult, DynamicExtractStopReason, NextPromptConfig, NextPromptBranch, NextPromptCondition, NextPromptOperator, } from './lib/llm_api/types.js'; export { get_llm_usage_summary, get_llm_call_detail, } from './lib/observability/queries.js'; export { create_default_after_response_hook, } from './lib/observability/log_writer.js'; export { ensure_api_log_table, } from './lib/database/init_api_log.js'; export type { ApiLogRow, UsageSummaryOptions, UsageSummaryResponse, UsageSummaryRow, UsageSummaryGroupBy, UsageSummaryWhere, } from './lib/observability/types.js'; export { get_pricing, update_pricing, set_pricing_overrides, compute_cost, recompute_costs, load_pricing, reset_pricing_for_test, } from './lib/pricing/pricing.js'; export type { RecomputeOpts, RecomputeResult, } from './lib/pricing/pricing.js'; export type { PricingEntry, PricingEntryText, PricingEntryImage, PricingEntryEmbedding, PricingEntryAudio, PricingTable, PricingKind, UsageInfo, UsageTokens, UsageAttempt, FinishReason, } from './lib/pricing/types.js'; export { query_session_cost, check_cost_cap_gate, } from './lib/cost_cap/cost_cap.js'; export type { CostCapConfig, } from './lib/llm_api/types.js'; export { llm_api_purge_log_job } from './lib/maintenance/purge_log_job.js'; export type { PurgeLogPayload } from './lib/maintenance/purge_log_job.js'; export { register_provider, set_enabled_llms, set_primary_llm, get_primary_llm, is_llm_enabled, get_provider, get_registered_providers, clear_registry, } from './lib/providers/registry.js'; export { GeminiProvider } from './lib/providers/gemini/index.js'; export type { GeminiProviderConfig } from './lib/providers/gemini/index.js'; export { QwenProvider } from './lib/providers/qwen/index.js'; export type { QwenProviderConfig } from './lib/providers/qwen/index.js'; //# sourceMappingURL=server.d.ts.map