export interface OAuthTokenResponse { access_token: string; token_type: string; expires_in: number; refresh_token?: string; scope?: string; id_token?: string; } export interface OAuthConfig { clientId: string; clientSecret: string; redirectUri: string; authorizationUrl?: string; tokenUrl?: string; scope?: string[]; } export interface ApiKeyConfig { apiKey: string; apiKeyHeader?: string; } export type WorkspaceRole = 'WORKSPACE_OWNER' | 'WORKSPACE_ADMIN' | 'WORKSPACE_MEMBER'; export interface UserProfile { id: string; display_name: string; email?: string; created_at: string; workspace_id: string; workspace_name: string; workspace_role: WorkspaceRole; } export interface InitiatePartnerAuthOptions { workspace_id?: string; is_admin?: boolean; } export type WorkspaceErrorCode = 'workspace_not_found' | 'workspace_not_authorized' | 'workspace_conflict'; export interface ErrorResponse { code: string; error?: string; message?: string; request_id?: string; workspace_id?: string; } export interface AuthTokens { accessToken: string; refreshToken?: string; idToken?: string; expiresAt?: Date; scope?: string[]; } //# sourceMappingURL=auth.d.ts.map