@atlaskit/renderer
Version:
Renderer component
24 lines (23 loc) • 778 B
TypeScript
import type RendererActions from './index';
export declare function getRendererRangeInlineNodeNames({ actions, pos, }: {
actions: RendererActions;
/**
* documentPosition is caclulated by `actions.getPositionFromRange`
* where `false` means that the selection is not able to be calculated.
*/
pos?: {
from: number;
to: number;
} | false;
}): string[] | undefined;
export declare function getRendererRangeAncestorNodeNames({ actions, pos, }: {
actions: RendererActions;
/**
* documentPosition is caclulated by `actions.getPositionFromRange`
* where `false` means that the selection is not able to be calculated.
*/
pos?: {
from: number;
to: number;
} | false;
}): string[] | undefined;