import type { AuthErrorKind, EventBus } from '../../events/index.js'; type AuthBackend = 'claude' | 'pi'; type AuthType = 'oauth' | 'api_key' | null; export declare function classifyAuthError(message: string): AuthErrorKind | null; export declare function initAuthEvents(bus: EventBus | null): void; export declare function publishAuthRequired(input: { backend: AuthBackend; provider: string; authType: AuthType; kind: AuthErrorKind; channel: string | null; sessionId: string | null; }): void; export declare function publishAuthRecovered(input: { backend: AuthBackend; provider: string; }): void; export {};