import React from "react"; export interface TotpDisplayProps { /** Base32-encoded TOTP secret. Empty string disables the display. */ secret: string; /** * Pure function that computes the current TOTP code from `secret`. * Apps inject their own implementation so this widget stays decoupled * from the crypto module — e.g. vault wires * `@vault/shared/crypto/totp.computeTotpCode`. */ computeCode: (secret: string) => string; /** TOTP step period in seconds. Defaults to 30. */ period?: number; /** Optional callback fired after a successful clipboard write. */ onCopy?: (code: string) => void; } /** * TOTP code display with a circular countdown ring. Recomputes the code * on each 30s window boundary; ticks the remaining-seconds value once * per second to drive the ring animation. */ export declare function TotpDisplay({ secret, computeCode, period, onCopy, }: TotpDisplayProps): React.JSX.Element | null; //# sourceMappingURL=totp-display.d.ts.map