import { BetterAuthOptions } from "better-auth"; //#region src/application/logging/Logger.d.ts interface Logger { info(message: string, exception?: Error): void; warn(message: string, exception?: Error): void; error(message: string, exception?: Error): void; debug(message: string, exception?: Error): void; } interface LoggerFactory { create(scope: string): Logger; } //#endregion //#region src/presentation/config/CodemationAuthConfig.d.ts type CodemationAuthKind = "local" | "oauth" | "oidc" | "managed"; type CodemationAuthOAuthProviderId = Extract, "github" | "google" | "microsoft">; interface CodemationAuthOAuthProviderConfig { readonly provider: CodemationAuthOAuthProviderId; readonly clientIdEnv: string; readonly clientSecretEnv: string; readonly tenantIdEnv?: string; } interface CodemationAuthOidcProviderConfig { readonly id: string; readonly issuer: string; readonly clientIdEnv: string; readonly clientSecretEnv: string; } interface CodemationAuthConfig { readonly kind: CodemationAuthKind; readonly allowUnauthenticatedInDevelopment?: boolean; readonly oauth?: ReadonlyArray; readonly oidc?: ReadonlyArray; } //#endregion //#region src/presentation/config/CodemationLogConfig.d.ts type CodemationLogLevelName = "debug" | "info" | "warn" | "error" | "silent"; type CodemationLogRule = Readonly<{ filter: string | ReadonlyArray; level: CodemationLogLevelName; }>; type CodemationLogConfig = Readonly<{ rules: ReadonlyArray; }> | CodemationLogRule; //#endregion //#region src/presentation/config/CodemationWhitelabelConfig.d.ts interface CodemationWhitelabelConfig { readonly productName?: string; readonly logoPath?: string; } //#endregion export { CodemationAuthConfig as a, CodemationAuthOidcProviderConfig as c, CodemationLogRule as i, Logger as l, CodemationLogConfig as n, CodemationAuthKind as o, CodemationLogLevelName as r, CodemationAuthOAuthProviderConfig as s, CodemationWhitelabelConfig as t, LoggerFactory as u }; //# sourceMappingURL=CodemationWhitelabelConfig-CPKKZwGp.d.ts.map