import '@oicl/openbridge-webcomponents/dist/components/user-button/user-button.js'; import type { Variant, Size, StyleType } from '@oicl/openbridge-webcomponents/dist/components/user-button/user-button.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** Controls whether the button displays a user icon (`icon`) or user initials (`initials`). - `icon`: Shows a user icon (default, or if initials are invalid). - `initials`: Shows up to two uppercase initials (falls back to icon if empty or longer than two characters). */ variant?: Variant; size?: Size; /** Sets the visual style of the button. - `flat`: Minimal, flat appearance (default). - `normal`: Outlined with background and border. - `selected`: Highlighted to indicate selection or active state. */ styleType?: StyleType; /** If true, renders the button as a static (non-interactive) element using a `
`. Use for decorative or read-only contexts where user interaction is not required. */ static?: boolean; /** Disables the button, preventing user interaction and applying a disabled style. */ disabled?: boolean; /** The initials to display when `variant="initials"`. - Only the first two non-whitespace characters are used and converted to uppercase. - If empty or longer than two characters, falls back to the user icon. */ initials?: string; /** Optional label text to display next to the button (not shown in static mode). */ label?: string | undefined; } export interface Events { } export interface Slots { icon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcUserButton: import("svelte").Component<$$ComponentProps, { Variant: typeof Variant; Size: typeof Size; StyleType: typeof StyleType; }, "">; type ObcUserButton = ReturnType; export default ObcUserButton;