import type { LTOAuthStartConfig } from '../../types/oauth'; export { encrypt, decrypt, getEncryptionKey, setEncryptionKey } from './crypto'; export { createOAuthState, consumeOAuthState } from './state'; export { registerProvider, getProvider, listProviders } from './providers'; export type { ProviderHandler, OAuthTokens } from './providers'; export { upsertOAuthToken, getOAuthToken, getFreshAccessToken, listOAuthConnections, deleteOAuthConnection, getUserByOAuthProvider, } from './db'; /** * Initialize the OAuth service. * Called from start.ts when auth.oauth is configured. * Also scans environment variables for provider credentials. */ export declare function initializeOAuth(config?: LTOAuthStartConfig): void;