import type { ComponentType, ReactNode } from 'react';
export type View<Props> = string | ((props: Props) => ReactNode);
export declare function resolveView<Props>(viewMap: Record<string, ComponentType<any>>, view: View<Props>): ComponentType<Props> | undefined;
