import { Api, ApiOptions } from './api'; /** Styling options for login prompt */ export type LoginPromptOptions = { /** Add links to top of page */ addLinks?: { text: string; url: string; }[]; /** Background image URL */ background?: string; /** Use background color instead of image */ backgroundColor?: string; /** Primary color as hex: `#000000` */ color?: string; /** Change glow color, defaults to color or set to falsy to disable */ glow?: string; /** Hide app links */ hideApps?: boolean; /** Logo URL */ logo?: string; /** Logo Position */ /** 'left' | 'right' | 'aboveTitle' | 'belowTitle' | 'belowSubtitle' */ logoPosition?: 'left' | 'right' | 'aboveTitle' | 'belowTitle' | 'belowSubtitle'; /** Hide Logo regardless of existing Logo Url */ hideLogo?: boolean; /** Allow users to stay logged in */ persist?: boolean; /** Header string or HTML: logo*/ title?: string; /** Color of headers & links */ textColor?: string; /** Custom font for title */ titleFontFamily?: string; /** Import URL for custom font */ titleFontUrl?: string; /** Font size for title */ titleFontSize?: string; /** Text shadow for the title */ titleTextShadow?: string; /** Subtitle text */ subtitle?: string; /** Custom font for subtitle */ subtitleFontFamily?: string; /** Import URL for custom font */ subtitleFontUrl?: string; /** Color for subtitle */ subtitleTextColor?: string; /** Font size for subtitle */ subtitleFontSize?: string; /** Text shadow for subtitle */ subtitleTextShadow?: string; platform?: 'android' | 'ios' | 'mac' | 'windows' | 'linux' | 'unknown'; pwaSettings?: ApiOptions["pwaSettings"]; }; /** Create a login prompt */ export declare class LoginPrompt { private readonly api; readonly spoke: string; options: LoginPromptOptions; /** Dynamically create CSS style */ private static css; /** Dynamically create HTML */ private static template; private alert; private button; private form; private forgotLink; private password; private persist; private username; private _done; /** Promise which resolves once login is complete */ done: Promise; constructor(api: Api, spoke: string, options?: LoginPromptOptions); private render; private themeDefaults; /** Close the login prompt */ close(): void; /** Check if login prompt is still open */ isOpen(): boolean; /** Login form submit event */ login(event: any): Promise; /** Forgot password link click event */ forgotPassword(event: any): Promise | undefined; } //# sourceMappingURL=login-prompt.d.ts.map