/** * Returns a function that creates an `AbortController` and aborts the previous one (if any). * The last created `AbortController` is aborted when the component unmounts. * * @returns Callback that returns a new `AbortController`. */ export declare function useAbortController(): () => AbortController;