/*!
 * Jodit Editor (https://xdsoft.net/jodit/)
 * Released under MIT see LICENSE.txt in the project root for license information.
 * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
 */
/**
 * [[include:plugins/file/README.md]]
 * @packageDocumentation
 * @module plugins/file
 */
import type { IJodit, IUploaderData } from "../../types/index";
declare module 'jodit/config' {
    interface Config {
        file: {
            /**
             * Inserts the files uploaded from the file popup's Upload tab. By default
             * each one goes in as a link, an image as well, the way
             * `uploader.defaultHandlerSuccess` inserts a file that isn't an image.
             * ```javascript
             * Jodit.make('#editor', {
             * 		file: {
             * 			defaultHandlerSuccess(data) {
             * 				data.files.forEach(file => {
             * 					this.s.insertHTML(`<a class="file" href="${data.baseurl + file}">${file}</a>`);
             * 				});
             * 			}
             * 		}
             * });
             * ```
             */
            defaultHandlerSuccess?: (this: IJodit, data: IUploaderData) => void;
        };
    }
}
export declare function file(editor: IJodit): void;
