31 lines
630 B
TypeScript
31 lines
630 B
TypeScript
|
export declare function getRawData(): Promise<{
|
||
|
[key: string]: any;
|
||
|
} | null>;
|
||
|
declare function getData(): Promise<{
|
||
|
name: string;
|
||
|
duration: number;
|
||
|
artist: string;
|
||
|
composer: string;
|
||
|
album: {
|
||
|
name: string;
|
||
|
artist: string;
|
||
|
loved: boolean;
|
||
|
disliked: boolean;
|
||
|
};
|
||
|
genre: string;
|
||
|
track: {
|
||
|
length: number;
|
||
|
number: number;
|
||
|
};
|
||
|
disc: {
|
||
|
length: number;
|
||
|
number: number;
|
||
|
};
|
||
|
sampleRate: number;
|
||
|
comment: string;
|
||
|
loved: boolean;
|
||
|
disliked: boolean;
|
||
|
state: "playing" | "paused";
|
||
|
} | null>;
|
||
|
export default getData;
|