import Interface, { APILocale } from "../interface.js"; /** * Interfaces with all of teams related endpoints. * * @internal @sealed */ export default class Teams extends Interface { /** * Fetches data for all teams or a particular team. * * @remarks * If `teamId` is undefined, fetches data for all teams. * * @param teamId - A specific team id from which to pull data. * @param locale - The locale of the response. * @returns Data on a particular team or all teams. * * @see {@link https://vickz84259.github.io/lolesports-api-docs/#operation/getTeams | vickz84259's endpoint documentation}. * * @public @sealed */ get(teamId?: string, locale?: APILocale): Promise<{ data: { teams: ({ code: string; image: string; name: string; } & { id: string; slug: string; alternativeImage: string; homeLeague: { name: string; region: string; }; players: { id: string; summonerName: string; firstName: string; lastName: string; image: string; role: string; }[]; })[]; }; }>; } //# sourceMappingURL=teams.d.ts.map