/** * P1LoginPage * * Default login page component for P1 auth integration. * This is a convenience component — consumers can build their own login UI * using the useP1Auth() hook instead. * * Renders login UI appropriate for the current auth mode: * - mock: Demo user dropdown selector * - broker: "Sign in" button via auth broker */ import React from 'react'; export interface P1LoginPageProps { /** Title shown on the login card. Default: "P1 Puck Editor" */ title?: string; subtitle?: string; } /** * Default login page for P1 auth. * Uses useP1Auth() internally — must be rendered within a P1AuthProvider. * * This is a convenience component. For custom login UIs (e.g., embedded in * a larger app), use useP1Auth() directly to access login/logout/state. */ export declare function P1LoginPage({ title, subtitle, }: P1LoginPageProps): React.ReactElement;