import { StatusCode, CspDirective } from '@shopify/network';
import { EffectKind } from '@shopify/react-effect';
export { NetworkContext } from './context';
export declare const EFFECT_ID: unique symbol;
export declare class NetworkManager {
    readonly effect: EffectKind;
    private statusCodes;
    private csp;
    private redirectUrl?;
    reset(): void;
    redirectTo(url: string, status?: StatusCode): void;
    addStatusCode(statusCode: StatusCode): void;
    addCspDirective(directive: CspDirective, value: string | string[] | boolean): void;
    extract(): {
        status: number | undefined;
        csp: {
            [key: string]: string | boolean | string[];
        };
        redirectUrl: string | undefined;
    };
}
