import { SvelteComponentTyped } from "svelte"; export declare function getPluginsContext(): import("svelte/store").Writable; export type IWithFn = (editor: E, config?: O) => E; export type IPluginWithFn = ISvelteComponent, E extends ISvelteEditor = ISvelteEditor, O extends object = object> = { component: C; withFn?: IWithFn; options?: O; }; export type IPlugin = ISvelteComponent, E extends ISvelteEditor = ISvelteEditor, O extends object = object> = C | IPluginWithFn; export declare function isPluginWithFn = ISvelteComponent, E extends ISvelteEditor = ISvelteEditor, O extends object = object>(plugin: IPlugin): plugin is IPluginWithFn; export interface IPlugins = ISvelteComponent, E extends ISvelteEditor = ISvelteEditor, O extends object = object> { [type: string]: IPlugin; } export interface IPluginsContext { [type: string]: ISvelteComponent; } import type { IElementProps } from '../components/InternalElement.svelte'; import { type ISvelteComponent } from '../utils'; import type { ISvelteEditor } from '../withSvelte'; import type { BaseSelection, Descendant } from 'slate'; declare const __propDef: { props: { plugins?: IPlugins>, ISvelteEditor, object> | undefined; editor: ISvelteEditor; value?: Descendant[] | undefined; selection?: BaseSelection | undefined; }; events: { value: CustomEvent; selection: CustomEvent; } & { [evt: string]: CustomEvent; }; slots: { default: {}; }; }; export type SlateProps = typeof __propDef.props; export type SlateEvents = typeof __propDef.events; export type SlateSlots = typeof __propDef.slots; export default class Slate extends SvelteComponentTyped { } export {};