import type { NetworkAtom } from '../core/network/NetworkAtom';
import type { BaseRequestConfig, HttpResponse, HttpResponseType, NetworkPackageContext } from './Types';
export declare const NetworkTask: import("../../../framework-types/task/Types").NamedTask<(<T extends HttpResponseType>([baseConfig, networkAtom]: [BaseRequestConfig<T>, import("../core/state/Types").StateAtom<{
    lastMessage: import("./NetworkMessageTypes").NetworkMessage;
}, {
    requestOpened: (state: import("../core/network/NetworkAtom").NetworkState, openedTimestamp: number) => boolean;
    headersReceived: (state: import("../core/network/NetworkAtom").NetworkState, headersReceivedTimestamp: number, contentLength: number) => boolean;
    progress: (state: import("../core/network/NetworkAtom").NetworkState, progressTimestamp: number, chunk: Uint8Array, loadedBytes: number, elapsedTime: number) => boolean;
    error: (state: import("../core/network/NetworkAtom").NetworkState, error: Error) => boolean;
    done: (state: import("../core/network/NetworkAtom").NetworkState, doneTimestamp: number) => boolean;
}> | undefined], context: NetworkPackageContext) => Promise<HttpResponse<HttpResponseType>>)>;
