/**
 * SignInSimple – Generic handle + password sign-in form.
 *
 * Posts to `loginUrl` (default `/api/iam/v1/login`) with
 * `{ handle, password }`, then calls `onSignIn(token, handle)` on
 * success so the caller can persist credentials as needed.
 *
 * @module views/signin
 */
import React from 'react';
export interface SignInSimpleProps {
    /**
     * Called after a successful login with the JWT and the user handle.
     * Typically used to store credentials in a Zustand / context store.
     */
    onSignIn: (token: string, handle: string) => void;
    /**
     * Called when the user authenticates with an API key.
     * If not provided the "Sign In with an API Key" button is hidden.
     */
    onApiKeySignIn?: (apiKey: string) => void;
    /**
     * Login endpoint.  Defaults to `/api/iam/v1/login`.
     * The endpoint must accept `POST { handle, password }` and return
     * `{ success: boolean; token?: string; message?: string }`.
     */
    loginUrl?: string;
    /**
     * Optional heading text.  Defaults to `"Datalayer OTEL"`.
     */
    title?: string;
    /**
     * Optional subtitle / description.
     */
    description?: string;
    /**
     * Leading icon element rendered next to the title.
     * Defaults to `<TelescopeIcon size={24} />`.
     */
    leadingIcon?: React.ReactNode;
}
export declare const SignInSimple: React.FC<SignInSimpleProps>;
export default SignInSimple;
