import { Team as TeamType } from '@bringg/types';
import StoreEntity from '../../Core/StoreEntity';
import Session from '../../Services/Identity/Session';
export default class Team extends StoreEntity<Bringg.Team> {
    private teamsByMerchant;
    constructor(session: Session);
    byUserId(userId: number): Promise<Bringg.Team[]>;
    updateTeam(id: number, data: Partial<Bringg.Team>): Promise<Bringg.Team>;
    createTeam(team: Partial<TeamType>): Promise<Bringg.Team>;
    getAll(): Promise<Bringg.Team[]>;
    get(id: number): Promise<Bringg.Team>;
    byMerchantId(merchantId: number): Promise<Bringg.Team[]>;
}
