import type { IEnvironment, IEnvironmentCreate, IProjectEnvironment } from '../../types/model';
import type { Store } from '../../types/stores/store';
export interface IEnvironmentStore extends Store<IEnvironment, string> {
    exists(name: string): Promise<boolean>;
    create(env: IEnvironmentCreate): Promise<IEnvironment>;
    update(env: Pick<IEnvironment, 'type' | 'protected'>, name: string): Promise<IEnvironment>;
    updateProperty(id: string, field: string, value: string | number | boolean): Promise<void>;
    updateSortOrder(id: string, value: number): Promise<void>;
    importEnvironments(environments: IEnvironment[]): Promise<IEnvironment[]>;
    delete(name: string): Promise<void>;
    disable(environments: IEnvironment[]): Promise<void>;
    enable(environments: IEnvironment[]): Promise<void>;
    count(): Promise<number>;
    getAllWithCounts(): Promise<IEnvironment[]>;
    getMaxSortOrder(): Promise<number>;
    getProjectEnvironments(projectId: string, query?: Object): Promise<IProjectEnvironment[]>;
}
//# sourceMappingURL=environment-store-type.d.ts.map