import { APIFetchOptions } from '@wordpress/api-fetch'; import { AnyAction } from 'redux'; export declare const fetchWithHeaders: (options: APIFetchOptions) => AnyAction & { options: APIFetchOptions; }; export type FetchWithHeadersResponse = { headers: Response['headers']; status: Response['status']; data: Data; }; declare const controls: { FETCH_WITH_HEADERS(action: AnyAction): Promise; AWAIT_PROMISE: ({ promise }: { promise: Promise; }) => Promise; API_FETCH({ request }: { request: APIFetchOptions; }): Promise; }; export default controls; //# sourceMappingURL=controls.d.ts.map