/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { ButtonProps, DialogContentProps, DialogTitleProps } from '@mui/material'; import { FC, ReactElement, ReactNode } from 'react'; import { DialogProps } from '../Dialog'; export interface SessionTimerProps { children?: ({ remainingTimeStageOne, remainingTimeStageTwo, }: { remainingTimeStageOne: number; remainingTimeStageTwo: number; }) => ReactElement | null; dialogContinueSessionProps?: { confirmationButtonProps?: ButtonProps; confirmationText?: ReactNode; cancellationButtonProps?: ButtonProps; cancellationText?: ReactNode; content?: ReactNode | null; contentProps?: DialogContentProps; dialogProps?: Omit; title?: ReactNode; titleProps?: DialogTitleProps; }; expiresAt: Date; onExpire: () => void; onKeepAlive: () => void; promptWithMsRemaining: number; tokenMaxAgeMs: number; } export declare const SessionTimer: FC; export default SessionTimer; //# sourceMappingURL=index.d.ts.map