import type { Graffiti } from "@graffiti-garden/api"; /** * A class that implements the login methods * of the [Graffiti API]() for use in the browser. * It is completely insecure and should only be used * for testing and demonstrations. * * It uses `localStorage` to store login state and * window prompts rather than an oauth flow for log in. * It can be used in node.js but will not persist * login state and a proposed username must be provided. */ export declare class GraffitiSessionManagerLocal { sessionEvents: Graffiti["sessionEvents"]; constructor(); loggedInActors: string[]; protected getLoggedInActors(): string[]; protected setLoggedInActors(actors: string[]): void; login: Graffiti["login"]; logout: Graffiti["logout"]; } //# sourceMappingURL=session-manager-local.d.ts.map