import { type CliConfig } from './cli-config.js'; import type { ConfigStore } from './config-store.js'; /** * A real {@link ConfigStore} held in memory, for tests. * * Keys are flat: the file-backed store nests dotted keys, but nothing reads * a value back by a different spelling than it was written with. */ export declare class MemoryConfigStore implements ConfigStore { readonly path = "/memory/cli.json"; private readonly values; constructor(initialValues?: Record); get all(): Record; set all(newValues: Record); get size(): number; get(key: string): unknown; set(key: string | Record, value?: unknown): void; has(key: string): boolean; delete(key: string): void; clear(): void; } export declare const createMemoryConfigStore: (initialValues?: Record) => ConfigStore; /** * A config held in memory, for tests. Values may be seeded by key, e.g., to * stand for a config an older CLI wrote. */ export declare const createMemoryConfig: (initialValues?: Record) => CliConfig;