import type { AppBskyRichtextFacet } from "@atcute/bluesky"; /** * Segment a string into substrings of a given grapheme length, without breaking facets. * @param text The string to segment. * @param length The maximum grapheme length of each segment. * @param facets The facets to avoid breaking. * @returns An array of substrings and their associated facets. */ export declare function facetAwareSegment(text: string, length: number, facets: Array): Array<{ text: string; facets: Array; }>;