export type LogFn = (line: string) => void; export type UnlinkTokenFileFn = () => Promise; export interface LogoutDeps { log: LogFn; unlinkTokenFile?: UnlinkTokenFileFn; home?: string; } export type LogoutOutcome = { kind: "removed"; path: string; } | { kind: "not-found"; path: string; }; /** * Delete the local token file. Always succeeds (never throws). Returns * "removed" when a file was deleted, "not-found" when it wasn't there. */ export declare function runLogout(deps: LogoutDeps): Promise; //# sourceMappingURL=index.d.ts.map