import { ApiBase } from './ApiBase';
import { TeamSharingApi } from '../TeamSharingApi';
import { AdaptableModule, AdaptableObject, AdaptableSharedEntity, CustomSharedEntity, SharedEntity, AdaptableSharedEntityConfig, CustomSharedEntityConfig } from '../../types';
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
import { TeamSharingInternalApi } from '../Internal/TeamSharingInternalApi';
export declare class TeamSharingApiImpl extends ApiBase implements TeamSharingApi {
    internalApi: TeamSharingInternalApi;
    constructor(_adaptable: IAdaptable);
    loadSharedEntities(): Promise<SharedEntity[]>;
    persistSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
    isTeamSharingAvailable(): boolean;
    hasTeamSharingFullRights(): boolean;
    checkForUpdates(): void;
    openTeamSharingSettingsPanel(): void;
    shareAdaptableEntity(adaptableObject: AdaptableObject, module: AdaptableModule, sharedEntityConfig: AdaptableSharedEntityConfig): void;
    shareCustomEntity(customObject: any, sharedEntityConfig: CustomSharedEntityConfig): void;
    unshareEntity(entityId: string): void;
    importSharedEntry(sharedEntity: SharedEntity): void;
    private getTeamSharingState;
    getLoadedSharedEntities(): SharedEntity[];
    getLoadedAdaptableSharedEntities(): AdaptableSharedEntity[];
    getLoadedCustomSharedEntities(): CustomSharedEntity[];
    refreshTeamSharing(): void;
}
