UNPKG

504 BTypeScriptView Raw
1import type { StorageEntry } from '../../../primitive/types.js';
2import type { Registry } from '../../../types/index.js';
3export interface ManualMetadata {
4 docs: string;
5 type: string;
6}
7interface ManualDefinition {
8 method: string;
9 prefix: string;
10 section: string;
11}
12/** @internal */
13export declare function createRuntimeFunction({ method, prefix, section }: ManualDefinition, key: Uint8Array | string, { docs, type }: ManualMetadata): (registry: Registry) => StorageEntry;
14export {};