import type { EditorPresetBuilder } from '../preset/builder';
import type { ExtractNextEditorPlugins, PublicPluginAPI } from './next-editor-plugin';
export type ExtractPublicEditorAPI<T extends EditorPresetBuilder<any, any>> = T extends EditorPresetBuilder<any, infer Plugins> ? PublicPluginAPI<ExtractNextEditorPlugins<Plugins>> : PublicPluginAPI<[
]>;
