import { z } from 'zod';
export declare const AUTH_ERROR_CODES: readonly ["unsupported-provider", "signup-provider-disabled", "provider-required", "not-eligible", "oauth_not_configured", "missing_access_token", "invalid_state", "server_error", "upstream_error", "profile_fetch_failed", "invalid_profile", "provider-already-linked", "username-taken", "username-required", "invalid-username", "invalid-pending", "invalid-public-key", "invalid-signature", "forbidden"];
export declare const AuthErrorCodeSchema: z.ZodEnum<{
    forbidden: "forbidden";
    "unsupported-provider": "unsupported-provider";
    "signup-provider-disabled": "signup-provider-disabled";
    "provider-required": "provider-required";
    "not-eligible": "not-eligible";
    oauth_not_configured: "oauth_not_configured";
    missing_access_token: "missing_access_token";
    invalid_state: "invalid_state";
    server_error: "server_error";
    upstream_error: "upstream_error";
    profile_fetch_failed: "profile_fetch_failed";
    invalid_profile: "invalid_profile";
    "provider-already-linked": "provider-already-linked";
    "username-taken": "username-taken";
    "username-required": "username-required";
    "invalid-username": "invalid-username";
    "invalid-pending": "invalid-pending";
    "invalid-public-key": "invalid-public-key";
    "invalid-signature": "invalid-signature";
}>;
export type AuthErrorCode = z.infer<typeof AuthErrorCodeSchema>;
//# sourceMappingURL=errors.d.ts.map