import { KeymanagerApiMethods } from "@lodestar/api/keymanager/server"; import { RestApiServer, RestApiServerModules, RestApiServerOpts } from "@lodestar/beacon-node"; import { ChainForkConfig } from "@lodestar/config"; export type KeymanagerRestApiServerOpts = RestApiServerOpts & { isAuthEnabled: boolean; tokenDir?: string; tokenFile?: string; }; export declare const keymanagerRestApiServerOptsDefault: KeymanagerRestApiServerOpts; export type KeymanagerRestApiServerModules = RestApiServerModules & { config: ChainForkConfig; api: KeymanagerApiMethods; }; export declare const apiTokenFileName = "api-token.txt"; export declare class KeymanagerRestApiServer extends RestApiServer { private readonly apiTokenPath; private readonly isAuthEnabled; constructor(optsArg: Partial, modules: KeymanagerRestApiServerModules); listen(): Promise; } //# sourceMappingURL=server.d.ts.map