import { IBeaconNodeOptions } from "@lodestar/beacon-node"; import { CliCommandOptions } from "@lodestar/utils"; export declare const enabledAll = "*"; export declare const enabledAllBashFriendly = "all"; /** * Coerce function to transform bash-friendly 'all' to CORS spec '*' */ export declare function coerceCors(cors: string): string; export type ApiArgs = { "api.maxGindicesInProof"?: number; "rest.namespace"?: string[]; "rest.cors"?: string; rest: boolean; "rest.address"?: string; "rest.port": number; "rest.headerLimit"?: number; "rest.bodyLimit"?: number; "rest.stacktraces"?: boolean; "rest.swaggerUI"?: boolean; }; export declare function parseArgs(args: ApiArgs): IBeaconNodeOptions["api"]; export declare const options: CliCommandOptions; //# sourceMappingURL=api.d.ts.map