export type IdentityState = "anonymous" | "authenticated"; export type IdentityMode = "icon" | "button" | "menu"; export type IdentityTone = "default" | "onColor"; export interface IdentityUser { name: string; avatarSrc?: string; } export interface IdentityMenuEntry { label: string; href?: string; onClick?: () => void; } type $$ComponentProps = { authState?: IdentityState; user?: IdentityUser | null; mode?: IdentityMode; tone?: IdentityTone; signInLabel?: string; accountLabel?: string; onSignIn?: () => void; onSignOut?: () => void; menu?: IdentityMenuEntry[]; }; declare const IdentityButton: import("svelte").Component<$$ComponentProps, {}, "">; type IdentityButton = ReturnType; export default IdentityButton; //# sourceMappingURL=IdentityButton.svelte.d.ts.map