import { KiroAuthMethod } from '../../cliproxy/auth/auth-types';
import type { CLIProxyProvider } from '../../cliproxy/types';
declare const router: import("express-serve-static-core").Router;
export declare function getKiroStartIDCValidationError(options: {
    kiroMethod: KiroAuthMethod;
    kiroIDCStartUrl?: string;
    invalidKiroIDCFlow?: boolean;
}): {
    error: string;
    code: string;
} | null;
export declare function getStartUrlUnsupportedReason(provider: CLIProxyProvider, options?: {
    kiroMethod?: KiroAuthMethod;
}): string | null;
export declare function getStartAuthFailureMessage(provider: CLIProxyProvider): string;
export declare function getStartAuthNicknameError(provider: CLIProxyProvider, nickname: string | undefined, existingAccounts: Array<{
    id: string;
    nickname?: string;
}>, allowExistingAccountId?: string): {
    error: string;
    code: 'INVALID_NICKNAME' | 'NICKNAME_EXISTS';
} | null;
export default router;
//# sourceMappingURL=cliproxy-auth-routes.d.ts.map