import * as React from 'react'; type CleanUpFunction = (nextElement?: React.ReactElement) => void; export default function cleanup(): void; export declare function addToCleanupQueue(fn: CleanUpFunction): void; export {};