export declare function useAuthorize(): (headers: Record) => Promise>;