import { Monitor } from '@neo-one/monitor-esnext-esm'; import { FullNodeEnvironment, FullNodeOptions } from '@neo-one/node-esnext-esm'; import { Binary, Config, DescribeTable } from '@neo-one/server-plugin-esnext-esm'; import { NodeSettings } from '../types'; import { NodeAdapter, NodeStatus } from './NodeAdapter'; export interface NodeConfig { readonly log: { readonly level: string; readonly maxSize: number; readonly maxFiles: number; }; readonly settings: { readonly test?: boolean; readonly privateNet?: boolean; readonly secondsPerBlock?: number; readonly standbyValidators?: ReadonlyArray; readonly address?: string; }; readonly environment: FullNodeEnvironment; readonly options: FullNodeOptions; } export declare const createNodeConfig: ({ dataPath, defaultConfig, }: { readonly dataPath: string; readonly defaultConfig?: NodeConfig | undefined; }) => Config; export declare class NEOONENodeAdapter extends NodeAdapter { private mutableConfig; private mutableProcess; constructor({ monitor, name, binary, dataPath, settings, }: { readonly monitor: Monitor; readonly name: string; readonly binary: Binary; readonly dataPath: string; readonly settings: NodeSettings; }); getDebug(): DescribeTable; getNodeStatus(): NodeStatus; protected isLive(): Promise; protected isReady(): Promise; protected createInternal(): Promise; protected updateInternal(settings: NodeSettings): Promise; protected startInternal(): Promise; protected stopInternal(): Promise; private checkRPC; private getAddress; private writeSettings; private createConfig; }