/** * go-easy — Google APIs made easy. * * @example * ```ts * import { getAuth } from '@marcfargas/go-easy/auth'; * import { search, send } from '@marcfargas/go-easy/gmail'; * * const auth = await getAuth('gmail', 'marc@blegal.eu'); * const results = await search(auth, { query: 'is:unread' }); * ``` */ export { getAuth, listAccounts, listAllAccounts, clearAuthCache } from './auth.js'; export type { GoogleService } from './auth.js'; export { authAdd } from './auth-flow.js'; export type { AuthFlowStatus } from './auth-flow.js'; export type { GoEasyAccount, AccountStore, OAuthToken, OAuthCredentials, } from './auth-store.js'; export { SCOPES, ALL_SCOPES, scopeToService } from './scopes.js'; export { setSafetyContext, resetSafetyContext, guardOperation } from './safety.js'; export type { SafetyContext, SafetyLevel, OperationInfo } from './safety.js'; export { GoEasyError, AuthError, NotFoundError, QuotaError, SafetyError, } from './errors.js'; import * as gmail from './gmail/index.js'; import * as drive from './drive/index.js'; import * as calendar from './calendar/index.js'; import * as tasks from './tasks/index.js'; export { gmail, drive, calendar, tasks }; //# sourceMappingURL=index.d.ts.map