import { Crew } from '@bringg/types';
import Session from '../../Services/Identity/Session';
import { Route } from '../../Services/Route';
import { SessionBasedService } from '../../Services/SessionBasedService';
import { CreateAndUpdateCrew, CrewDeleteResponse, CrewResponse, CrewsResponse } from '../Crew.consts';
import CrewStore from '../Store/CrewStore';
export declare const Routes: {
    GET_CREW: Route;
    GET_BY_TEAM: Route;
    CREATE_CREW: Route;
    UPDATE_CREW: Route;
    DELETE_CREW: Route;
};
export declare const defaultExtractor: (response: CrewsResponse) => Crew[];
export declare const crewExtractor: (response: CrewResponse) => Crew;
export declare const deleteResponseExtractor: (response: CrewDeleteResponse) => boolean;
export default class CrewService extends SessionBasedService {
    store: CrewStore;
    constructor(session: Session, store: CrewStore);
    getAllByTeam(teamId: any): Promise<Crew[]>;
    get(id: number): Promise<Crew>;
    create(crew: CreateAndUpdateCrew): Promise<Crew>;
    update(id: number, crew: CreateAndUpdateCrew): Promise<Crew>;
    delete(id: number): Promise<boolean>;
}
