/**
 * This Source Code is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Copyright (c) Infonomic Company Limited
 */
import type { AnyLexicalExtensionArgument } from 'lexical';
import { ExtensionsList } from './extensions-list';
import type { EditorConfig } from './types';
/**
 * Returns a fresh array of every Byline-built-in Lexical extension in
 * their canonical order. Includes the `BylineToolbarExtension` registry
 * itself so contributing extensions can attach their toolbar items via
 * `peerDependencies`.
 *
 * Order matters: stock framework extensions (clear-editor, tab-indent,
 * auto-focus) come first; toolbar contract sits ahead of any
 * contributing extension; relation-bearing extensions (link, image)
 * land near the end.
 */
export declare function defaultExtensionsArray(): AnyLexicalExtensionArgument[];
/** Fresh `ExtensionsList` populated with the built-in extensions. */
export declare function defaultExtensionsList(): ExtensionsList;
/**
 * Client-side default editor config — settings + lexical config + the
 * full default extensions list. Used by `lexicalEditor((c) => ...)` as
 * the seed before invoking the configure callback. Server-only modules
 * (e.g. seeds) must import `defaultEditorConfig` from
 * `@byline/richtext-lexical/server` instead.
 */
export declare const defaultClientEditorConfig: EditorConfig;
