import { Codec, InterfaceTypes, Registry } from '../types'; export declare function createTypeUnsafe(registry: Registry, type: K, params?: any[], isPedantic?: boolean): T; /** * Create an instance of a `type` with a given `params`. * @param type - A recognizable string representing the type to create an * instance from * @param params - The value to instantiate the type with */ export declare function createType(registry: Registry, type: K, ...params: any[]): InterfaceTypes[K];