import { BaseApi } from '../../BaseApi'; import { Team } from './Team'; import { TeamWithUsers } from './TeamWithUsers'; /** * The API methods that deal with teams. * * Can be accessed using `client.kraken.teams` on an {@ApiClient} instance. * * ## Example * ```ts * const api = new ApiClient(new StaticAuthProvider(clientId, accessToken)); * const team = await api.kraken.teams.getTeamByName('staff'); * ``` */ export declare class TeamApi extends BaseApi { /** * Get a list of teams. * * @param page The result page you want to retrieve. * @param limit The number of results you want to retrieve. */ getTeams(page?: number, limit?: number): Promise; /** * Retrieves the team data for the given team name. * * @param team The team name you want to look up. */ getTeamByName(team: string): Promise; }