import { z } from 'zod'; declare const OAuthConfigSchema: z.ZodObject<{ enabled: z.ZodLiteral; sessionSecret: z.ZodString; gitlabClientId: z.ZodString; gitlabClientSecret: z.ZodOptional; gitlabScopes: z.ZodDefault; tokenTtl: z.ZodDefault; refreshTokenTtl: z.ZodDefault; devicePollInterval: z.ZodDefault; deviceTimeout: z.ZodDefault; }, z.core.$strip>; export type OAuthConfig = z.infer; export declare function loadOAuthConfig(): OAuthConfig | null; export declare class ConfigurationError extends Error { readonly guidance: string; constructor(guidance: string); } export declare function validateStaticConfig(): void; export declare function isOAuthEnabled(): boolean; export declare function resetOAuthConfigCache(): void; export declare function getAuthModeDescription(): string; export declare function isStaticTokenConfigured(): boolean; export declare function isAuthenticationConfigured(): boolean; export {};