import type { BindingId } from './catalog.js'; import type { SparseKeybindingOverrides } from './types.js'; export declare class KeybindingConcurrentEditError extends Error { readonly latestKeybindings: unknown; constructor(latestKeybindings: unknown); } export interface PersistKeybindingsOptions { readonly expectedKeybindings?: unknown; } export interface PersistedKeybindings { readonly path: string; readonly overrides: SparseKeybindingOverrides; } export declare function persistUserKeybindings(prospectiveOverrides: unknown, options?: PersistKeybindingsOptions): PersistedKeybindings;