import { ChainSpec } from "./types"; import { HrmpChannelsConfig, Node, Parachain } from "./sharedTypes"; import { ComputedNetwork } from "./configTypes"; export type KeyType = "session" | "aura" | "grandpa"; export type GenesisNodeKey = [string, string, { [key: string]: string; }]; export declare function specHaveSessionsKeys(chainSpec: ChainSpec): boolean; export declare function clearAuthorities(specPath: string): void; export declare function addBalances(specPath: string, nodes: Node[]): Promise; export declare function getNodeKey(node: Node, useStash?: boolean): GenesisNodeKey; export declare function addAuthority(specPath: string, node: Node, key: GenesisNodeKey): Promise; export declare function addStaking(specPath: string, node: Node): Promise; export declare function addCollatorSelection(specPath: string, node: Node): Promise; export declare function addParaCustom(): Promise; export declare function addAuraAuthority(specPath: string, name: string, accounts: any): Promise; export declare function addGrandpaAuthority(specPath: string, name: string, accounts: any): Promise; export declare function generateNominators(specPath: string, randomNominatorsCount: number, maxNominations: number, validators: string[]): Promise; export declare function addParachainToGenesis(specPath: string, para_id: string, head: string, wasm: string, parachain?: boolean): Promise; export declare function changeGenesisConfig(specPath: string, updates: any): Promise; export declare function addBootNodes(specPath: string, addresses: string[]): Promise; export declare function addHrmpChannelsToGenesis(specPath: string, hrmp_channels: HrmpChannelsConfig[]): Promise; export declare function getRuntimeConfig(chainSpec: any): any; export declare function readAndParseChainSpec(specPath: string): any; export declare function writeChainSpec(specPath: string, chainSpec: any): void; export declare function isRawSpec(specPath: string): Promise; export declare function getChainIdFromSpec(specPath: string): Promise; export declare function customizePlainRelayChain(specPath: string, networkSpec: ComputedNetwork): Promise; export declare function customizeParachainRawSpec(specPath: string, parachain: Parachain): void; declare const _default: { addAuraAuthority: typeof addAuraAuthority; addAuthority: typeof addAuthority; changeGenesisConfig: typeof changeGenesisConfig; clearAuthorities: typeof clearAuthorities; readAndParseChainSpec: typeof readAndParseChainSpec; specHaveSessionsKeys: typeof specHaveSessionsKeys; writeChainSpec: typeof writeChainSpec; getNodeKey: typeof getNodeKey; addParaCustom: typeof addParaCustom; addCollatorSelection: typeof addCollatorSelection; isRawSpec: typeof isRawSpec; getChainIdFromSpec: typeof getChainIdFromSpec; customizePlainRelayChain: typeof customizePlainRelayChain; customizeParachainRawSpec: typeof customizeParachainRawSpec; }; export default _default;