/** * Get the base path to where the assets can be found. Use "setAssetPath(path)" * if the path needs to be customized. */ export declare const getAssetPath: (path: string) => string; /** * Used to manually set the base path where assets can be found. * If the script is used as "module", it's recommended to use "import.meta.url", * such as "setAssetPath(import.meta.url)". Other options include * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)". * But do note that this configuration depends on how your script is bundled, or lack of * bundling, and where your assets can be loaded from. Additionally custom bundling * will have to ensure the static assets are copied to its build directory. */ export declare const setAssetPath: (path: string) => void; /** * Used to specify a nonce value that corresponds with an application's CSP. * When set, the nonce will be added to all dynamically created script and style tags at runtime. * Alternatively, the nonce value can be set on a meta tag in the DOM head * () which * will result in the same behavior. */ export declare const setNonce: (nonce: string) => void export interface SetPlatformOptions { raf?: (c: FrameRequestCallback) => number; ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; } export declare const setPlatformOptions: (opts: SetPlatformOptions) => void; // --- nav type re-exports (patch-index-types.mjs) --- export type { NavChromeStyle, PanelNavRouterMode, PanelNavItem, PanelNavGroup, } from '../types/components/PanelNav/panel-nav-types'; export type { BarNavTab, BarNavActionItem, } from '../types/components/BarNav/bar-nav-types'; export type { ConversationItemState, MessageDirection, MessageGroupPosition, MessageDeliveryState, MessageMetadataVisibility, MessageFeedback, MessageCopyResultEventDetail, MessageScrollerPosition, MessageComposerStatus, ConversationAttachment, AgentActivityState, AgentActivityItem, AgentSource, AgentQuestionType, AgentQuestionChoice, AgentQuestion, AgentQuestionAnswer, AgentQuestionnaireStatus, AgentQuestionnaireLabels, AgentQuestionnaireAnswerEventDetail, AgentQuestionnaireCancelEventDetail, AgentToolState, AgentResponseRenderMode, AgentQuestionnaireResponsePart, AgentResponsePart, } from '../types/components/conversation-types'; export type { TableCaptionVisibility, TableCellAlign, TableCellAction, TableCellActionDetail, TableCellBlank, TableCellEmpty, TableCellIcon, TableCellImage, TableCellPrimaryText, TableCellText, TableCellTag, TableCellTagVariant, TableCellValue, TableColumn, TableColumnWidth, TableDataMode, TableGroup, TableHeaderSegment, TableGroupingChangeDetail, TableGroupingState, TableLoadMoreDetail, TableLoadMoreMode, TableLoadMoreReason, TablePaginationState, TableRow, TableSelectionChangeDetail, TableSelectionMode, TableSortChangeDetail, TableSortDirection, TableSortState, } from '../types/components/Table/table-types'; export type { PaginationChangeDetail, PaginationChangeReason, PaginationState, } from '../types/components/Pagination/pagination-types';