1
0
forked from um/web
qqmusicunlock/src/shims-browser-id3-writer.d.ts

26 lines
483 B
TypeScript
Raw Normal View History

declare module "browser-id3-writer" {
export default class ID3Writer {
constructor(buffer: Buffer | ArrayBuffer)
setFrame(name: string, value: string | object | string[])
addTag(): ArrayBuffer
}
}
declare module "metaflac-js" {
export default class Metaflac {
constructor(buffer: Buffer)
setTag(field: string)
removeTag(name: string)
importPictureFromBuffer(picture: Buffer)
save(): Buffer
}
}