import type { ConfigStore } from './config-store.js'; /** * The CLI's configuration, in the terms the CLI thinks in. Keys are named * here alone: a caller says what it wants stored, not where it goes. */ export interface CliConfig { readonly path: string; getEndpoint: () => string | null; setEndpoint: (endpoint: string) => void; getToken: (endpoint: string) => string | null; setToken: (endpoint: string, token: string) => void; unsetToken: (endpoint: string) => void; getWorkspace: () => string | null; setWorkspace: (workspaceId: string) => void; unsetWorkspace: () => void; getUseRemoteSchema: () => boolean | null; setUseRemoteSchema: (useRemoteSchema: boolean) => void; } export declare const createCliConfig: (store: ConfigStore) => CliConfig;