import type { StoreFile } from "./store.js"; import type { MenuAction } from "./ui/menu.js"; import type { CommonSettingsStore } from "./common-settings-store.js"; export declare function persistAccountSwitch(input: { store: StoreFile; name: string; at: number; writeStore: (store: StoreFile, meta?: { reason?: string; source?: string; actionType?: string; inputStage?: string; parsedKey?: string; }) => Promise; }): Promise; export declare function applyMenuAction(input: { action: MenuAction; store: StoreFile; writeStore: (store: StoreFile, meta?: { reason?: string; source?: string; actionType?: string; inputStage?: string; parsedKey?: string; }) => Promise; readCommonSettings?: () => Promise; writeCommonSettings?: (settings: CommonSettingsStore, meta?: { reason?: string; source?: string; actionType?: string; inputStage?: string; parsedKey?: string; }) => Promise; }): Promise;