import { Chunker } from "./chunking.cjs"; //#region src/html.d.ts /** * Options specific to HTML chunking. * * @since 0.2.0 */ interface HtmlChunkerOptions { /** * Additional HTML attributes to include for translation. * Default translatable attributes: alt, title, placeholder, aria-label, * aria-description. */ readonly additionalTranslatableAttributes?: readonly string[]; /** * Whether to strip HTML comments from the output. * * @default false */ readonly stripComments?: boolean; } /** * Default attributes that should be translated. */ declare const DEFAULT_TRANSLATABLE_ATTRIBUTES: readonly ["alt", "title", "placeholder", "aria-label", "aria-description"]; /** * Creates an HTML chunker. * * The chunker parses HTML content and creates chunks that respect element * boundaries. Each block element is kept as a single chunk when possible, * and only split when exceeding the token limit. * * @param htmlOptions Optional HTML-specific chunking options. * @returns A chunker function for HTML content. * @since 0.2.0 */ declare function createHtmlChunker(htmlOptions?: HtmlChunkerOptions): Chunker; //#endregion export { DEFAULT_TRANSLATABLE_ATTRIBUTES, HtmlChunkerOptions, createHtmlChunker };