import { GooglePlayGamesServices } from '@ionic-native/google-play-games-services' ; export interface ScoreData { /**
     * The score to submit.
     */ score : number ; /**
     * The leaderboard ID from Google Play Developer console.
     */ leaderboardId : string ; } export interface LeaderboardData { /**
     * The leaderboard ID from Goole Play Developer console.
     */ leaderboardId : string ; } export interface AchievementData { /**
     * The achievement ID from Google Play Developer console.
     */ achievementId : string ; } export interface IncrementableAchievementData extends AchievementData { /**
     * The amount to increment the achievement by.
     */ numSteps : number ; } export interface SignedInResponse { /**
     * True or false is the use is signed in.
     */ isSignedIn : boolean ; } export interface Player { /**
     * The players display name.
     */ displayName : string ; /**
     * The ID given to the player by Play Games Services.
     */ playerId : string ; /**
     * The title of the player based on their gameplay activity. Not
     * all players have this and it may change over time.
     */ title : string | null ; /**
     * Retrieves the URI for loading this player's icon-size profile image.
     * Returns null if the player has no profile image.
     */ iconImageUrl : string ; /**
     * Retrieves the URI for loading this player's hi-res profile image. Returns
     * null if the player has no profile image.
     */ hiResIconImageUrl : string ; } export class GooglePlayGamesServicesMock extends GooglePlayGamesServices { return { Promise < any > } auth ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } signOut ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < SignedInResponse > } isSignedIn ( ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; return { Promise < Player > } showPlayer ( ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param data { ScoreData } return { Promise < any > } submitScore ( data ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } showAllLeaderboards ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param data { LeaderboardData } return { Promise < any > } showLeaderboard ( data ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param data { AchievementData } return { Promise < any > } unlockAchievement ( data ) { let response = '' ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param data { IncrementableAchievementData } return { Promise < any > } incrementAchievement ( data ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } showAchievements ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }