UNPKG

longcelot-sheet-db

Version:

Google Sheets-backed staging database adapter for Node.js with schema-first design

10 lines 545 B
import { createOAuthManager } from '../../auth/oauth'; export declare function readTokens(): unknown | null; export declare function saveTokens(tokens: unknown): void; /** * Refreshes stored tokens if present, otherwise walks the user through the interactive * browser OAuth flow. Shared by every CLI command that needs to talk to the Sheets API * (sync, drop-table, drop-column, rename-column). */ export declare function resolveTokens(oauth: ReturnType<typeof createOAuthManager>): Promise<unknown>; //# sourceMappingURL=oauthFlow.d.ts.map