import { JSX } from 'solid-js'; import { InputProps } from '../primitives/input'; export type AuthInputMode = "email" | "phone"; export interface AuthInputProps extends Omit { value: string; onValueChange: (value: string, mode: AuthInputMode) => void; onValidChange?: (isValid: boolean) => void; onSubmit?: () => void; type?: AuthInputMode | "auto"; error?: string; /** Visual error state without inline text (e.g. when an AlertPanel owns the message). */ hasError?: boolean; className?: string; } export declare function detectInputMode(value: string): AuthInputMode; export declare function AuthInput(props: AuthInputProps): JSX.Element; export declare namespace AuthInput { var displayName: string; }