import { clipboard } from "./clipboard.js";
import { handlePasteIntoCodePlugin } from "./code.js";
import * as clipboardUtils from "./utils.js";
export { clipboardUtils };
export const Clipboard = (builder, opts) => {
    builder.addPlugin((deps) => clipboard({
        logger: builder.logger.nested({
            module: 'clipboard',
            plugin: 'clipboard',
        }),
        mdParser: deps.markupParser,
        textParser: deps.textParser,
        serializer: deps.serializer,
        pasteFileHandler: opts.pasteFileHandler,
    }), builder.Priority.VeryLow);
    builder.addPlugin(handlePasteIntoCodePlugin, builder.Priority.Highest);
};
//# sourceMappingURL=index.js.map
