Files
base/node_modules/bits-ui/dist/bits/pin-input/usePasswordManager.svelte.d.ts
eewing ec317eb17c
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m11s
INIT
2026-02-18 15:17:47 -06:00

16 lines
753 B
TypeScript

import { type DOMContext, type ReadableBox, type WritableBox } from "svelte-toolbelt";
import type { PinInputRootPropsWithoutHTML } from "./types.js";
type UsePasswordManagerBadgeProps = {
containerRef: WritableBox<HTMLElement | null>;
inputRef: WritableBox<HTMLInputElement | null>;
pushPasswordManagerStrategy: ReadableBox<PinInputRootPropsWithoutHTML["pushPasswordManagerStrategy"]>;
isFocused: ReadableBox<boolean>;
domContext: DOMContext;
};
export declare function usePasswordManagerBadge({ containerRef, inputRef, pushPasswordManagerStrategy, isFocused, domContext, }: UsePasswordManagerBadgeProps): {
readonly hasPwmBadge: boolean;
readonly willPushPwmBadge: boolean;
PWM_BADGE_SPACE_WIDTH: "40px";
};
export {};