forked from um/web
76dd78130a
(cherry picked from commit cad5b4d7deba4fbe4a40a17306ce49d3b2f13139)
24 lines
448 B
TypeScript
24 lines
448 B
TypeScript
declare module 'browser-id3-writer' {
|
|
export default class ID3Writer {
|
|
constructor(buffer: Buffer | ArrayBuffer);
|
|
|
|
setFrame(name: string, value: string | object | string[]);
|
|
|
|
addTag(): Uint8Array;
|
|
}
|
|
}
|
|
|
|
declare module 'metaflac-js' {
|
|
export default class Metaflac {
|
|
constructor(buffer: Buffer);
|
|
|
|
setTag(field: string);
|
|
|
|
removeTag(name: string);
|
|
|
|
importPictureFromBuffer(picture: Buffer);
|
|
|
|
save(): Buffer;
|
|
}
|
|
}
|