import type { InlineLink, InlineSpan } from './types.js'; /** The links of `[start, end)` of a span's text, rebased to that slice — * spread into a span cut from it. Empty when none falls inside. */ export declare function sliceLinks(links: readonly InlineLink[] | undefined, start: number, end: number): { links?: InlineLink[]; }; /** `span` cut to `[start, end)` of its text, its links rebased. */ export declare function sliceSpan(span: InlineSpan, start: number, end?: number): InlineSpan; //# sourceMappingURL=links.d.ts.map