@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
6 lines (5 loc) • 381 B
TypeScript
import type { Predicate } from '../types';
import { productionLinkPreferencesUrl, stagingLinkPreferencesUrl } from './constants';
export declare function isTextAtPos(pos: number): Predicate;
export declare function isLinkAtPos(pos: number): Predicate;
export declare const getLinkPreferencesURLFromENV: () => typeof productionLinkPreferencesUrl | typeof stagingLinkPreferencesUrl;