import { Team } from '../model/team'; import { Board, TeamMember } from './index'; import { MiroApi } from '../api'; /** @hidden */ export declare abstract class BaseTeam extends Team { abstract _api: MiroApi; abstract orgId: string; /** * Retrieves all boards that match the search criteria provided in the request. If you are an Enterprise customer and a Company Admin, you can retrieve all boards, including all private boards (boards that haven\'t been specifically shared with you) by enabling Content Admin permissions. To enable Content Admin permissions, see https://help.miro.com/hc/en-us/articles/360012777280-Content-Admin-permissions-for-Company-Admins. Note that you only get results instantaneously when you filter by `team_id`. If you use any other filter, you need to give a few seconds for the indexing of newly created boards before retrieving boards.

Required scope

boards:read

Rate limiting

Level 1
* * Returns an iterator which will automatically paginate and fetch all available boards */ getAllBoards(query?: Omit[0], 'offset'>): AsyncGenerator; /** * Get all team members of the current team *

Required scope

organizations:teams:read

Rate limiting

Level 2

Enterprise only

This API is available only for Enterprise plan users.

* Returns an iterator which will automatically paginate and fetch all available team members */ getAllTeamMembers(query?: Omit[2], 'cursor'>): AsyncGenerator; }