import * as _aico_test_shared_constants from '@aico-test/shared/constants';
import { B as BaseElement, g as ElementTreeNode } from './types-29130591.js';
import 'openai/resources';

declare function truncateText(text: string | number | object | undefined, maxLength?: number): string;
declare function trimAttributes(attributes: Record<string, any>, truncateTextLength?: number): {
    [key: string]: string;
    nodeType: _aico_test_shared_constants.NodeType;
};
declare function descriptionOfTree<ElementType extends BaseElement = BaseElement>(tree: ElementTreeNode<ElementType>, truncateTextLength?: number, filterNonTextContent?: boolean): string;

export { descriptionOfTree, trimAttributes, truncateText };
