@atlaskit/editor-plugin-synced-block
Version:
SyncedBlock plugin for @atlaskit/editor-core
16 lines (15 loc) • 802 B
TypeScript
import type { IntlShape } from 'react-intl-next';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { SyncBlockSourceInfo, SyncBlockStoreManager, ReferencesSourceInfo } from '@atlaskit/editor-synced-block-provider';
import type { SyncedBlockPlugin } from '../syncedBlockPluginType';
interface Props {
api?: ExtractInjectionAPI<SyncedBlockPlugin>;
intl: IntlShape;
isSource: boolean;
localId: string;
resourceId: string;
syncBlockStore: SyncBlockStoreManager;
}
export declare const processReferenceData: (referenceData: ReferencesSourceInfo["references"], intl: IntlShape) => SyncBlockSourceInfo[];
export declare const SyncedLocationDropdown: ({ syncBlockStore, resourceId, intl, isSource, localId, api, }: Props) => JSX.Element;
export {};