wraith/node_modules/@marijn/find-cluster-break/dist/index.d.cts
Vantz Stockwell 2848d79915 feat: Phase 1 complete — Tauri v2 foundation
Rust backend: SQLite (WAL mode, 8 tables), vault encryption
(Argon2id + AES-256-GCM), settings/connections/credentials
services, 19 Tauri command wrappers. 46/46 tests passing.

Vue 3 frontend: unlock/create vault flow, Pinia app store,
Tailwind CSS v4 dark theme with Wraith branding.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 15:09:41 -04:00

16 lines
658 B
TypeScript

/**
Query whether the given character has a `Grapheme_Cluster_Break`
value of `Extend` in Unicode.
*/
export declare function isExtendingChar(code: number): boolean
/**
Returns a next grapheme cluster break _after_ (not equal to) `pos`,
if `forward` is true, or before otherwise. Returns `pos` itself if no
further cluster break is available in the string. Moves across
surrogate pairs, extending characters (when `includeExtending` is
true, which is the default), characters joined with zero-width joiners,
and flag emoji.
*/
export declare function findClusterBreak(str: string, pos: number, forward?: boolean, includeExtending?: boolean): number