import { type ReactNode } from 'react'; export interface LifecycleProps { /** Content. */ children?: ReactNode; /** Will be called after component mounted. */ onMount?: VoidFunction; /** Will be called after component unmounted. */ onUnmount?: VoidFunction; /** Will be called synchronously after component mounted. */ onMountSync?: VoidFunction; /** Will be called synchronously after component unmounted. */ onUnmountSync?: VoidFunction; } /** * Component for working with lifecycle trough event callbacks. * Allows to handle mount/unmount events. * @param props Props. * @returns JSX Element. */ export declare function Lifecycle(props: LifecycleProps): ReactNode;