import type { ToolbarsConfig } from './ricos-types/next/toolbars-v2.js';
import type { ToolbarSettings } from './ricos-types/ricos-types.js';
/**
 * Main entry point. Takes the V2 `toolbars` prop from next's `RicosEditorProps`
 * and produces the legacy `toolbarSettings` object the shared runtime expects.
 *
 * Returns `undefined` when no V2 config was provided — the runtime then uses
 * pure defaults (equivalent to not passing `toolbarSettings` at all).
 */
export declare const toolbarsV2ToLegacy: (v2: ToolbarsConfig | undefined) => ToolbarSettings | undefined;
//# sourceMappingURL=next-toolbars-adapter.d.ts.map