import { destructor } from '@synnaxlabs/x';
export interface UseDestructorsReturn {
    cleanup: () => void;
    set: (destructors: destructor.Destructor | destructor.Destructor[] | undefined) => void;
}
export declare const useDestructors: () => UseDestructorsReturn;
//# sourceMappingURL=useDestructors.d.ts.map