import { Pool } from 'pg'; export declare function createPool(databaseUrl: string): Pool; export declare function initSchema(pool: Pool): Promise; /** * Starts a background job to clean up expired tokens and stale authorization codes. * Runs every 60 seconds by default. With 30-day access tokens and 90-day refresh tokens, * this prevents the database from accumulating stale credentials. */ export declare function startTokenCleanup(pool: Pool, intervalMs?: number): NodeJS.Timeout;