thedesk/app/node_modules/itunes-nowplaying-mac/dist/index.d.ts
2018-05-20 15:17:10 +09:00

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;