/** * Edubridge Client * * Main entry point for the Edubridge SDK. */ /** * Edubridge API client for simplified enrollment and analytics operations. * * Provides access to Edubridge endpoints including course-centric enrollments, * user management, analytics, and learning reports. * * @example * ```typescript * // Environment mode (Timeback APIs) * const client = new EdubridgeClient({ * env: 'staging', // or 'production' * auth: { * clientId: 'your-client-id', * clientSecret: 'your-client-secret', * }, * }) * ``` * * @example * ```typescript * // Provider mode (shared tokens) * import { TimebackProvider } from '@timeback/internal-client-infra' * * const provider = new TimebackProvider({ * platform: 'BEYOND_AI', * env: 'staging', * auth: { clientId: '...', clientSecret: '...' }, * }) * * const client = new EdubridgeClient({ provider }) * ``` * * @example * ```typescript * // Explicit mode (custom API) * const client = new EdubridgeClient({ * baseUrl: 'https://api.example.com', * auth: { * clientId: 'your-client-id', * clientSecret: 'your-client-secret', * authUrl: 'https://auth.example.com/oauth2/token', * }, * }) * ``` * * @example * ```typescript * // Environment variables fallback * // Set EDUBRIDGE_BASE_URL, EDUBRIDGE_TOKEN_URL, * // EDUBRIDGE_CLIENT_ID, EDUBRIDGE_CLIENT_SECRET * const client = new EdubridgeClient() * ``` */ export declare const EdubridgeClient: { new (config?: import("./types").EdubridgeClientConfig): { readonly transport: import("./types").EdubridgeTransportLike; readonly _provider?: import("@timeback/internal-client-infra").TimebackProvider | undefined; readonly enrollments: import("./resources").EnrollmentsResource; readonly users: import("./resources").UsersResource; readonly analytics: import("./resources").AnalyticsResource; readonly applications: import("./resources").ApplicationsResource; readonly subjectTracks: import("./resources").SubjectTrackResource; readonly learningReports: import("./resources").LearningReportsResource; getTransport(): import("./types").EdubridgeTransportLike; checkAuth(): Promise; }; }; export type { EdubridgeClientInstance } from './types'; //# sourceMappingURL=client.d.ts.map