import "../_dnt.polyfills.js"; import * as $ from "../deps/scale.js"; export interface NetProps { targets?: Record; } export declare abstract class NetSpec implements NetProps { name: string; targets: Record | undefined; abstract connection(name: string): ConnectionSpec; abstract metadata(signal: AbortSignal, tempDir: string): Promise; constructor({ targets }: NetProps); } export declare function getMetadataFromWsUrl(url: string): Promise; export type ConnectionSpec = $.Output; export declare const $connectionSpec: $.Codec<{ readonly type: "WsConnection"; readonly discovery: string; } | { readonly type: "DevnetConnection"; readonly discovery: string; }, { type: "WsConnection"; discovery: string; } | { type: "DevnetConnection"; discovery: string; }>;