import type { Result } from "./result.js"; type GlenMode = "on" | "off" | "incognito" | "silent"; type GlenState = { readonly activeOrgId: string; readonly activeOrgSlug: string | null; readonly activeOrgName: string | null; readonly mode: GlenMode; readonly modeUpdatedAt?: string; }; declare const statePath: () => string; declare const readState: () => Promise; declare const writeState: (state: GlenState) => Promise>; declare const clearState: () => Promise>; export { statePath, readState, writeState, clearState }; export type { GlenState, GlenMode };