UNPKG

l7note

Version:

Access your notion notes quick

25 lines (24 loc) 552 B
declare enum RunType { LIST = 1, ADD = 2, REMOVE = 3, CONFIG = 4, RESET = 5, HELP = 6, EXTRA = 7 } declare type OptionalArgs = { name: string; value: string; }; declare type GlobalConfig = { configPath: string; token: string; dbId: string; runType: RunType; optionalArgs: OptionalArgs[]; }; declare let globalConfig: GlobalConfig; declare const saveConfig: () => void; declare const loadSetup: () => Promise<void>; export { loadSetup, globalConfig, saveConfig, RunType };