interface LoginOptions { url?: string; clientId?: string; scope?: string; authPath?: string; open?: boolean; } /** * `pikku login` — authenticate the CLI against a pikku server using the * better-auth device-authorization flow. Stores a session token at * `~/.pikku/session.json`; generated CLI/websocket clients pick it up * automatically. */ export declare const login: import("#pikku").PikkuFunctionConfig | import("#pikku").PikkuFunction, undefined, undefined>; /** * `pikku logout` — remove a stored session (the given `--url`, or the current * default). */ export declare const logout: import("#pikku").PikkuFunctionConfig<{ url?: string; }, void, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{ url?: string; }, void, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunction<{ url?: string; }, void, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>; /** * `pikku whoami` — show the current (or `--url`) stored session and whether it * has expired. */ export declare const whoami: import("#pikku").PikkuFunctionConfig<{ url?: string; }, void, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{ url?: string; }, void, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunction<{ url?: string; }, void, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>; export {};