thedesk/app/node_modules/itunes-nowplaying-mac/dist/index.d.ts

31 lines
630 B
TypeScript
Raw Normal View History

2018-05-20 16:17:10 +10:00
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;