import type { PackName, ToolInfo } from '../../tools/shared/types.js';
export type PackInstallLocation = 'not-installed' | 'project' | 'user' | 'both';
export interface PackInstallState {
    project: boolean;
    user: boolean;
    location: PackInstallLocation;
}
export declare function resolvePackInstallLocation(project: boolean, user: boolean): PackInstallLocation;
export declare function buildPackInstallStateMap<TPack extends PackName>(packs: readonly TPack[], tools: ToolInfo[]): Record<TPack, PackInstallState>;
//# sourceMappingURL=install-state.d.ts.map