export type Destructor = () => void; export declare function joinDestructors(destructors: Destructor[]): () => void;