Files
NapCatQQ/.pnpm-store/v3/files/7b/c97c20494b3c51b77d5b1caef4b5331e9b861c482a5aa26fadbf60041279583e974a583414d03f4860d7dc67ba0bb3294cca3c2cd73291278eb9ffa8922779
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
524 B
Plaintext

import type Quill from '../core/quill.js';
import Module from '../core/module.js';
import type { Range } from '../core/selection.js';
interface UploaderOptions {
mimetypes: string[];
handler: (this: {
quill: Quill;
}, range: Range, files: File[]) => void;
}
declare class Uploader extends Module<UploaderOptions> {
static DEFAULTS: UploaderOptions;
constructor(quill: Quill, options: Partial<UploaderOptions>);
upload(range: Range, files: FileList | File[]): void;
}
export default Uploader;