import type { ComponentIdObj } from '@teambit/component-id'; import { ComponentID } from '@teambit/component-id'; import type { LaneId } from '@teambit/lane-id'; import type { Logger } from '@teambit/logger'; type Config = Record | undefined; type ComponentConfig = { id: ComponentID; config: Config; componentMapObject: Record; }; type ComponentConfigObj = { id: ComponentIdObj; config: Config; componentMapObject: Record; }; export declare class StagedConfig { readonly filePath: string; private componentsConfig; private logger; hasChanged: boolean; constructor(filePath: string, componentsConfig: ComponentConfig[], logger: Logger); static load(scopePath: string, logger: Logger, laneId?: LaneId): Promise; toObject(): ComponentConfigObj[]; write(): Promise; getConfigPerId(id: ComponentID): Config; getPerId(id: ComponentID): ComponentConfig | undefined; getAll(): ComponentConfig[]; isEmpty(): boolean; deleteFile(): Promise; addComponentConfig(id: ComponentID, config: Config, componentMapObject: Record): void; removeComponentConfig(id: ComponentID): void; } export {};