2023-07-25 16:04:30 +00:00
|
|
|
import type {
|
2022-08-15 13:51:43 +00:00
|
|
|
WebRequest,
|
|
|
|
Proxy,
|
|
|
|
Tabs,
|
|
|
|
WebNavigation,
|
|
|
|
Menus,
|
|
|
|
} from "webextension-polyfill";
|
2023-07-25 16:04:30 +00:00
|
|
|
type OnHeadersReceivedDetailsType = WebRequest.OnHeadersReceivedDetailsType;
|
|
|
|
type OnBeforeRequestDetailsType = WebRequest.OnBeforeRequestDetailsType;
|
|
|
|
type OnBeforeSendHeadersDetailsType = WebRequest.OnBeforeSendHeadersDetailsType;
|
|
|
|
type OnCompletedDetailsType = WebRequest.OnCompletedDetailsType;
|
|
|
|
type OnErrorOccurredDetailsType = WebRequest.OnErrorOccurredDetailsType;
|
|
|
|
type BlockingResponse = WebRequest.BlockingResponse;
|
|
|
|
type OnRequestDetailsType = Proxy.OnRequestDetailsType;
|
|
|
|
type StreamFilter = WebRequest.StreamFilter;
|
|
|
|
type OnBeforeNavigateDetailsType = WebNavigation.OnBeforeNavigateDetailsType;
|
2022-07-29 10:37:20 +00:00
|
|
|
|
2023-07-25 16:04:30 +00:00
|
|
|
export type {
|
2022-07-29 10:37:20 +00:00
|
|
|
OnHeadersReceivedDetailsType,
|
|
|
|
OnBeforeRequestDetailsType,
|
2022-07-31 04:55:16 +00:00
|
|
|
OnBeforeSendHeadersDetailsType,
|
2022-07-29 10:37:20 +00:00
|
|
|
OnCompletedDetailsType,
|
|
|
|
OnErrorOccurredDetailsType,
|
|
|
|
BlockingResponse,
|
|
|
|
OnRequestDetailsType,
|
2022-08-13 08:17:16 +00:00
|
|
|
StreamFilter,
|
2022-08-14 17:15:32 +00:00
|
|
|
Tabs,
|
|
|
|
OnBeforeNavigateDetailsType,
|
2022-08-15 13:51:43 +00:00
|
|
|
Menus,
|
2022-07-29 10:37:20 +00:00
|
|
|
};
|