/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { SheetWords } from "./words.js"; /** * The `n matches` line, in the sheet's words — its count in the app's locale * (#850, #861). * * @param matches - The rows the narrowing holds * @param words - The sheet's words * @returns The line */ export declare function lensCount(matches: number, words: SheetWords): string; /** * A view's name from its query (B§8): the query to 16 characters, else the * sheet's words for an unnamed view — `view n` in English (#861). The name is * stored with the view. * * @param query - The query the view saves * @param seq - The view's number * @param unnamed - The sheet's name for a view with no query; English when omitted * @returns The name */ export declare function viewName(query: string, seq: number, unnamed?: ((seq: number) => string) | undefined): string; /** * The tabs that stay visible when `folded` of them must hide under width * pressure (B§8): the first ones in order, the active tab always kept — it * takes the last visible slot when it would otherwise fold. The hidden tabs * ride the `+n` menu, in order. * * @param views - Every view, in order * @param active - The active view's id (`null` = the whole sheet) * @param folded - How many tabs must hide * @returns The visible and the hidden views */ export declare function foldTabs(views: readonly T[], active: string | null, folded: number): { visible: T[]; hidden: T[]; }; //# sourceMappingURL=lens.d.ts.map