forked from um/web
26 lines
483 B
TypeScript
26 lines
483 B
TypeScript
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
|
|
}
|
|
}
|
|
|
|
|