/// <reference types="react" />
export interface SubstNetwork {
    type?: "Eq" | "EqNext";
    node: string | string[];
    name: string;
    dev?: boolean;
    ss58?: number;
}
export declare const NetworkProvider: {
    ({ children, ...props }: import("react").PropsWithChildren<{
        networks: SubstNetwork[];
        lsKey?: string | undefined;
        useSession?: (() => {
            data$: import("rxjs").Observable<import("../session").Session>;
            set: <K extends keyof import("../session").Session>(key: K, value: import("../session").Session[K]) => void;
            remove: () => void;
        }) | undefined;
    }>): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export declare const useNetwork: () => {
    networks: SubstNetwork[];
    network: SubstNetwork | undefined;
    setNetworkIndex: (i: number) => void;
    selectNetwork: (netName?: string) => void;
};
