/** * 从 cards.ts 提取的纯辅助函数 * * 这些函数不依赖 cards.ts 中的构建函数,仅依赖 cards-types.ts 中的类型定义。 */ import { type CreateChatCardData, type CreateChatSessionOption } from './cards-types.js'; declare function wrapText(text: string, lineLength: number): string; declare function formatOptionDescription(description: string): string; declare function resolveCreateChatCardState(data: CreateChatCardData): { options: CreateChatSessionOption[]; selected: CreateChatSessionOption; shownExistingCount: number; totalSessionCount: number; }; declare function buildCreateChatSelectorElements(data: CreateChatCardData): object[]; export { wrapText, formatOptionDescription, resolveCreateChatCardState, buildCreateChatSelectorElements, }; //# sourceMappingURL=cards-utils.d.ts.map