import { ModalButtonProps } from '../../../../components'; export type IdleTimerProps = { /** * Whether the idle timer is disabled */ disabled: boolean; /** * the function to call when the user is logged out */ logoutUser: () => void; /** * The time in milliseconds before the user is logged out */ timeout?: number; /** * The time in milliseconds before the user is prompted to extend their session */ promptBeforeIdle?: number; /** * The function to call when the prompt is shown */ onPromptShown?: () => void; /** * The heading that is passed down into the extend session modal */ extendSessionHeading?: string; /** * The heading passed to the timeout modal */ timeoutHeading?: string; /** * The primary button for the extend session modal */ extendSessionPrimaryButton?: ModalButtonProps; /** * The secondary button for the extend session modal */ extendSessionSecondaryButton?: ModalButtonProps; /** * The primary button for the timeout modal */ timeoutPrimaryButton?: ModalButtonProps; /** * The secondary button for the timeout modal */ timeoutSecondaryButton?: ModalButtonProps; }; export declare const IdleTimer: ({ disabled, timeout, promptBeforeIdle, logoutUser, onPromptShown, extendSessionHeading, timeoutHeading, extendSessionPrimaryButton, extendSessionSecondaryButton, timeoutPrimaryButton, timeoutSecondaryButton, }: IdleTimerProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;