import React from 'react'; import type { MotionTransition, PulseVariant } from '@coinbase/cds-common'; import type { HintMotionBaseProps } from './types'; export type PulseBaseProps = HintMotionBaseProps & { /** * Variant controls opacity of the pulse * @default moderate */ variant?: PulseVariant; children: React.ReactNode; /** * Specifies the number of times the pulse animation should loop. * Provide a positive integer to define an exact number of loops. * To enable infinite looping, omit this property or leave it undefined. * By default, the animation loops infinitely if this property is not specified. * @default Infinity */ iterations?: number; /** * Custom motion transition to override default motion config */ motionConfig?: Partial; }; export type PulseRefBaseProps = { play: (variant?: PulseVariant) => Promise; stop: () => void; }; export type PulseProps = PulseBaseProps; export declare const calculateRepeatValue: (iterations: number | undefined) => number; /** * Please consult with the motion team in #ask-motion before using this component. */ export declare const Pulse: React.MemoExoticComponent< React.ForwardRefExoticComponent< HintMotionBaseProps & { /** * Variant controls opacity of the pulse * @default moderate */ variant?: PulseVariant; children: React.ReactNode; /** * Specifies the number of times the pulse animation should loop. * Provide a positive integer to define an exact number of loops. * To enable infinite looping, omit this property or leave it undefined. * By default, the animation loops infinitely if this property is not specified. * @default Infinity */ iterations?: number; /** * Custom motion transition to override default motion config */ motionConfig?: Partial; } & React.RefAttributes > >; //# sourceMappingURL=Pulse.d.ts.map