import type { HttpResponseType } from './HttpResponseType';
import type { NetworkAtom } from './NetworkAtom';
import type { BaseRequestConfig, HttpResponse, 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("./NetworkAtom").NetworkState, openedTimestamp: number) => boolean;
    headersReceived: (state: import("./NetworkAtom").NetworkState, headersReceivedTimestamp: number, contentLength: number) => boolean;
    progress: (state: import("./NetworkAtom").NetworkState, progressTimestamp: number, chunk: Uint8Array, loadedBytes: number, elapsedTime: number) => boolean;
    error: (state: import("./NetworkAtom").NetworkState, error: Error) => boolean;
    done: (state: import("./NetworkAtom").NetworkState, doneTimestamp: number) => boolean;
}> | undefined], context: NetworkPackageContext) => Promise<HttpResponse<HttpResponseType>>)>;
